rcu: add priority-inversion testing to rcutorture
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 2 Sep 2010 23:16:14 +0000 (16:16 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 7 Oct 2010 17:41:08 +0000 (10:41 -0700)
commit8e8be45e8e55daa381028aec339829929ddb53a5
tree69176055b8d27ff91fe4da2cea04128f3d3ff8c4
parent6506cf6ce68d78a5470a8360c965dafe8e4b78e3
rcu: add priority-inversion testing to rcutorture

Add an optional test to force long-term preemption of RCU read-side
critical sections, controlled by new test_boost, test_boost_interval,
and test_boost_duration module parameters.  This is to be used to
test RCU priority boosting.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutorture.c