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)
commit561190e3b3db372403fb6a327b0121b4cae1b87e
tree41778e9452679853fd873bcb5c776d0fc2327c71
parentb0c9d7ff2793502650ad987c3f237d5fe5587a1e
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