]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: mark rcutorture boosting callback as being on-stack
authorPaul E. McKenney <paul.mckenney@linaro.org>
Wed, 30 Mar 2011 16:10:44 +0000 (09:10 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 6 May 2011 06:16:57 +0000 (23:16 -0700)
commitdcb41cde85373becacc130bb6371ed0b049f3c6a
tree41778e9452679853fd873bcb5c776d0fc2327c71
parent0203f5e7ef668976d5aeea55ad2da275718db8b2
rcu: mark rcutorture boosting callback as being on-stack

The CONFIG_DEBUG_OBJECTS_RCU_HEAD facility requires that on-stack RCU
callbacks be flagged explicitly to debug-objects using the
init_rcu_head_on_stack() and destroy_rcu_head_on_stack() functions.
This commit applies those functions to the rcutorture code that tests
RCU priority boosting.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcutorture.c