]> git.karo-electronics.de Git - karo-tx-linux.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>
Sat, 27 Oct 2012 22:35:44 +0000 (15:35 -0700)
commit9271763b77e9bd79308f202c80a4ca7a4f00d44e
tree8c609879fd1232a3ff3ad9fe868ef6dae1d4bcc4
parent1498f12998d1009a30778569a9164794b34c6718
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