aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPaul E. McKenney2018-04-27 14:05:27 -0700
committerPaul E. McKenney2018-07-12 15:38:59 -0700
commitc74859d1eb2d8578bdf6d78ba893e394085aba1a (patch)
tree17e12f56714e9567ea66307fc582abd06f523dd6 /net
parent8d672fa6bf68ffc36a0c5e4868499f86bbea2308 (diff)
rcu: Make rcu_report_unblock_qs_rnp() warn on violated preconditions
If rcu_report_unblock_qs_rnp() is invoked on something other than preemptible RCU or if there are still preempted tasks blocking the current grace period, something went badly wrong in the caller. This commit therefore adds WARN_ON_ONCE() to these conditions, but leaving the legitimate reason for early exit (rnp->qsmask != 0) unwarned. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions