]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Move synchronize_sched_expedited() state to rcu_state
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 11 Oct 2012 22:24:03 +0000 (15:24 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 8 Nov 2012 19:50:12 +0000 (11:50 -0800)
commit3ae8f03149936aae28a5c40bb5eab722d12342aa
tree4585fe95e0fa05c3273343971d46ea4403af294f
parente39d8a580cb3ef7d13c09295e4e54f70b6e40985
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>
kernel/rcutree.c
kernel/rcutree.h