]> asedeno.scripts.mit.edu Git - linux.git/commit
rcu: Add preemptibility checks in rcu_sched_qs() and rcu_bh_qs()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 27 Apr 2017 23:13:53 +0000 (16:13 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 8 Jun 2017 15:25:34 +0000 (08:25 -0700)
commitf4687d2637a4016b2eedfdb777105c95e8d6fe52
tree1a6f94344dc126fd0e48287990f6486581734454
parentc75e9caaf85f1fc4ed32e510b259d67ec3c4c603
rcu: Add preemptibility checks in rcu_sched_qs() and rcu_bh_qs()

This commit adds WARN_ON_ONCE() calls that trigger if either
rcu_sched_qs() or rcu_bh_qs() are invoked with preemption enabled.
In the immortal words of Peter Zijlstra: "these are much harder to ignore
than comments".

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