Home
last modified time | relevance | path

Searched refs:rcu_node (Results 1 – 11 of 11) sorted by relevance

/linux/kernel/rcu/
H A Dtree.h41 struct rcu_node { struct
87 struct rcu_node *parent; argument
199 struct rcu_node *mynode; /* This CPU's leaf of hierarchy */
353 struct rcu_node node[NUM_RCU_NODES]; /* Hierarchy. */
354 struct rcu_node *level[RCU_NUM_LVLS + 1];
483 static int rcu_preempt_blocked_readers_cgp(struct rcu_node *rnp);
485 static bool rcu_preempt_has_tasks(struct rcu_node *rnp);
487 static int rcu_print_task_exp_stall(struct rcu_node *rnp);
488 static void rcu_preempt_check_blocked_tasks(struct rcu_node *rnp);
490 static void dump_blkd_tasks(struct rcu_node *rnp, int ncheck);
[all …]
H A Dtree.c159 static void rcu_report_qs_rnp(unsigned long mask, struct rcu_node *rnp,
163 static void check_cb_ovld_locked(struct rcu_data *rdp, struct rcu_node *rnp);
167 static void rcu_cleanup_dead_rnp(struct rcu_node *rnp_leaf);
168 static void rcu_init_new_rnp(struct rcu_node *rnp_leaf);
541 static struct rcu_node *rcu_get_root(void) in rcu_get_root()
801 static void rcu_gpnum_ovf(struct rcu_node *rnp, struct rcu_data *rdp) in rcu_gpnum_ovf()
858 struct rcu_node *rnp = rdp->mynode; in rcu_watching_snap_recheck()
893 struct rcu_node *rnp1; in rcu_watching_snap_recheck()
991 static void trace_rcu_this_gp(struct rcu_node *rnp, struct rcu_data *rdp, in trace_rcu_this_gp()
1015 static bool rcu_start_this_gp(struct rcu_node *rnp_start, struct rcu_data *rdp, in rcu_start_this_gp()
[all …]
H A Dtree_nocb.h182 static struct swait_queue_head *rcu_nocb_gp_get(struct rcu_node *rnp) in rcu_nocb_gp_get()
187 static void rcu_init_one_nocb(struct rcu_node *rnp) in rcu_init_one_nocb()
661 struct rcu_node *rnp; in nocb_gp_wait()
883 struct rcu_node *rnp = rdp->mynode; in nocb_cb_wait()
1529 struct rcu_node *rnp = rdp->mynode; in show_rcu_nocb_gp_state()
1651 static struct swait_queue_head *rcu_nocb_gp_get(struct rcu_node *rnp) in rcu_nocb_gp_get()
1656 static void rcu_init_one_nocb(struct rcu_node *rnp) in rcu_init_one_nocb()
/linux/Documentation/RCU/Design/Data-Structures/
H A DData-Structures.rst28 of ``rcu_node`` structures. Each leaf node of the ``rcu_node`` tree has up
34 which results in a three-level ``rcu_node`` tree.
36 at boot time, resulting in an ``rcu_node`` tree with only a single node.
43 and other events are recorded by the leaf-level ``rcu_node``
46 grace periods are completed at the tree's root ``rcu_node``
66 | ``rcu_node`` structures than further up the tree. Therefore, if the |
67 | leaf ``rcu_node`` structures have fanout of 64, the contention on |
70 | for the leaves of the ``rcu_node`` tree. |
74 | ``rcu_node`` structures must also be reduced. Such reduction can be |
77 | on the non-leaf ``rcu_node`` structures, you may use the |
[all …]
/linux/Documentation/RCU/Design/Memory-Ordering/
H A DTree-RCU-Memory-Ordering.rst50 critical section for the ``rcu_node`` structure's
62 Therefore, for any given ``rcu_node`` structure, any access
71 on different ``rcu_node`` structures.
118 | But the chain of rcu_node-structure lock acquisitions guarantees |
166 | by the CPU's leaf ``rcu_node`` structure's ``->lock`` as described |
194 the ``rcu_node`` structure's ``->lock`` field, so much so that it is
206 5 struct rcu_node *rnp;
245 .. kernel-figure:: rcu_node-lock.svg
247 The box represents the ``rcu_node`` structure's ``->lock`` critical
305 ``rcu_node`` structure's ``->lock``. In all cases, there is full
[all …]
/linux/Documentation/RCU/Design/Expedited-Grace-Periods/
H A DExpedited-Grace-Periods.rst156 the ``rcu_node`` structure's ``->expmaskinitnext`` field. The
157 ``rcu_node`` structure's ``->expmaskinit`` field tracks the
162 that is, when the ``rcu_node`` structure's ``->expmaskinitnext``
164 period, which triggers an update of each ``rcu_node`` structure's
166 #. Each ``rcu_node`` structure's ``->expmaskinit`` field is used to
171 #. Any CPU that goes offline will clear its bit in its leaf ``rcu_node``
215 | bitmasks in the ``rcu_node`` tree. |
289 the expedited grace period is to use the ``rcu_node`` combining tree, as
291 corresponding to a given grace period arriving at a given ``rcu_node``
298 ``->exp_lock`` field in the ``rcu_node`` structure synchronizes access
[all …]
/linux/drivers/scsi/cxgbi/
H A Dlibcxgbi.h479 struct list_head rcu_node; member
H A Dlibcxgbi.c157 list_add_tail_rcu(&cdev->rcu_node, &cdev_rcu_list); in cxgbi_device_register()
177 list_del_rcu(&cdev->rcu_node); in cxgbi_device_unregister()
267 list_for_each_entry_rcu(cdev, &cdev_rcu_list, rcu_node) { in cxgbi_device_find_by_netdev_rcu()
/linux/include/linux/
H A Dsched.h76 struct rcu_node;
933 struct rcu_node *rcu_blocked_node;
/linux/Documentation/RCU/Design/Requirements/
H A DRequirements.rst1961 ``rcu_node`` structure whose CPUs are all offline.
2024 release the ``rcu_node`` lock to wake the RCU grace-period kthread::
2401 on the ``rcu_node`` structure. RCU is required to tolerate all CPUs
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt5547 Dump the structure of the rcu_node combining tree
5563 the rcu_node combining tree.
5662 Disable autobalancing of the rcu_node combining
5669 leaf rcu_node structure. Useful for very
5716 rcu_node tree with an eye towards determining
7184 form, that is, with an rcu_node tree: