Skip to content
Commit f4687d26 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent c75e9caa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment