commit | f4687d2637a4016b2eedfdb777105c95e8d6fe52 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Thu Apr 27 16:13:53 2017 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Thu Jun 08 08:25:34 2017 -0700 |
tree | 1a6f94344dc126fd0e48287990f6486581734454 | |
parent | c75e9caaf85f1fc4ed32e510b259d67ec3c4c603 [diff] |
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>