diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-04-28 02:13:53 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-06-08 18:25:34 +0300 |
commit | f4687d2637a4016b2eedfdb777105c95e8d6fe52 (patch) | |
tree | 1a6f94344dc126fd0e48287990f6486581734454 /include | |
parent | c75e9caaf85f1fc4ed32e510b259d67ec3c4c603 (diff) | |
download | linux-f4687d2637a4016b2eedfdb777105c95e8d6fe52.tar.xz |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions