]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Don't initiate RCU priority boosting on root rcu_node
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 4 Nov 2014 02:20:20 +0000 (18:20 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 6 Jan 2015 19:02:48 +0000 (11:02 -0800)
commit1c879c180a7f6bd06460b74981f34a9cf57f0c8f
treefda3686520e39b3f63efddfd84809fbc9f5e790b
parentf3bc99065bdd5b4e3046a25fb27f6b1a2c6a2a53
rcu: Don't initiate RCU priority boosting on root rcu_node

Because there is no longer any preempted tasks on the root rcu_node, and
because there is no longer ever an rcub kthread for the root rcu_node,
this commit drops the code in force_qs_rnp() that attempts to awaken
the non-existent root rcub kthread.  This is strictly a performance
enhancement, removing a root rcu_node ->lock acquisition and release
along with some tests in rcu_initiate_boost(), ending with the test that
notes that there is no rcub kthread.

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