rcu: priority boosting for TINY_PREEMPT_RCU
authorPaul E. McKenney <paul.mckenney@linaro.org>
Tue, 28 Sep 2010 00:25:23 +0000 (17:25 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 30 Nov 2010 06:01:54 +0000 (22:01 -0800)
commit24278d148316d2180be6df40e06db013d8b232b8
tree6a579d483f8f799b352e39b972a7e03cc6204fc1
parentb2c0710c464ede15e1fc52fb1e7ee9ba54cea186
rcu: priority boosting for TINY_PREEMPT_RCU

Add priority boosting, but only for TINY_PREEMPT_RCU.  This is enabled
by the default-off RCU_BOOST kernel parameter.  The priority to which to
boost preempted RCU readers is controlled by the RCU_BOOST_PRIO kernel
parameter (defaulting to real-time priority 1) and the time to wait
before boosting the readers blocking a given grace period is controlled
by the RCU_BOOST_DELAY kernel parameter (defaulting to 500 milliseconds).

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/init_task.h
include/linux/sched.h
init/Kconfig
kernel/rcutiny.c
kernel/rcutiny_plugin.h