]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Simplify unboosting checks
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 4 Aug 2011 14:55:34 +0000 (07:55 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 6 Sep 2011 18:27:05 +0000 (11:27 -0700)
commit9e64da60591bd331551faa2b1ee4cbff660e9aa4
treea1c863f151114feb644633434adb5910bf8c8bb6
parentbcb088a30eb09a729264469ddd1554b16e7432ae
rcu: Simplify unboosting checks

Commit 7765be (Fix RCU_BOOST race handling current->rcu_read_unlock_special)
introduced a new ->rcu_boosted field in the task structure.  This is
redundant because the existing ->rcu_boost_mutex will be non-NULL at
any time that ->rcu_boosted is nonzero.  Therefore, this commit removes
->rcu_boosted and tests ->rcu_boost_mutex instead.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/sched.h
kernel/rcutree_plugin.h