aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/srcutree.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/srcutree.h')
-rw-r--r--include/linux/srcutree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/srcutree.h b/include/linux/srcutree.h
index 0400e211aa44..94515ff226fb 100644
--- a/include/linux/srcutree.h
+++ b/include/linux/srcutree.h
@@ -47,6 +47,8 @@ struct srcu_data {
47 struct delayed_work work; /* Context for CB invoking. */ 47 struct delayed_work work; /* Context for CB invoking. */
48 struct rcu_head srcu_barrier_head; /* For srcu_barrier() use. */ 48 struct rcu_head srcu_barrier_head; /* For srcu_barrier() use. */
49 struct srcu_node *mynode; /* Leaf srcu_node. */ 49 struct srcu_node *mynode; /* Leaf srcu_node. */
50 unsigned long grpmask; /* Mask for leaf srcu_node */
51 /* ->srcu_data_have_cbs[]. */
50 int cpu; 52 int cpu;
51 struct srcu_struct *sp; 53 struct srcu_struct *sp;
52}; 54};
@@ -59,6 +61,8 @@ struct srcu_node {
59 unsigned long srcu_have_cbs[4]; /* GP seq for children */ 61 unsigned long srcu_have_cbs[4]; /* GP seq for children */
60 /* having CBs, but only */ 62 /* having CBs, but only */
61 /* is > ->srcu_gq_seq. */ 63 /* is > ->srcu_gq_seq. */
64 unsigned long srcu_data_have_cbs[4]; /* Which srcu_data structs */
65 /* have CBs for given GP? */
62 struct srcu_node *srcu_parent; /* Next up in tree. */ 66 struct srcu_node *srcu_parent; /* Next up in tree. */
63 int grplo; /* Least CPU for node. */ 67 int grplo; /* Least CPU for node. */
64 int grphi; /* Biggest CPU for node. */ 68 int grphi; /* Biggest CPU for node. */