aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paul.mckenney@linaro.org>2012-10-11 18:24:03 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2012-11-08 14:50:12 -0500
commit40694d6644d5cca28531707559466122eb212d8b (patch)
tree4585fe95e0fa05c3273343971d46ea4403af294f /kernel/rcutree.h
parent1924bcb0259711eea98491a7942d1ffbf677e114 (diff)
rcu: Move synchronize_sched_expedited() state to rcu_state
Tracing (debugfs) of expedited RCU primitives is required, which in turn requires that the relevant data be located where the tracing code can find it, not in its current static global variables in kernel/rcutree.c. This commit therefore moves sync_sched_expedited_started and sync_sched_expedited_done to the rcu_state structure, as fields ->expedited_start and ->expedited_done, respectively. Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree.h')
-rw-r--r--kernel/rcutree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/rcutree.h b/kernel/rcutree.h
index a7c945d149cf..88f3d9d5971d 100644
--- a/kernel/rcutree.h
+++ b/kernel/rcutree.h
@@ -404,6 +404,9 @@ struct rcu_state {
404 /* _rcu_barrier(). */ 404 /* _rcu_barrier(). */
405 /* End of fields guarded by barrier_mutex. */ 405 /* End of fields guarded by barrier_mutex. */
406 406
407 atomic_long_t expedited_start; /* Starting ticket. */
408 atomic_long_t expedited_done; /* Done ticket. */
409
407 unsigned long jiffies_force_qs; /* Time at which to invoke */ 410 unsigned long jiffies_force_qs; /* Time at which to invoke */
408 /* force_quiescent_state(). */ 411 /* force_quiescent_state(). */
409 unsigned long n_force_qs; /* Number of calls to */ 412 unsigned long n_force_qs; /* Number of calls to */