summaryrefslogtreecommitdiff
path: root/include/linux/srcutree.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-07-19 20:56:46 +0300
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-07-25 23:04:50 +0300
commit09efeeee173e9f541b15157d30658cd8b23ec4f3 (patch)
tree05f9ac743eef48f6da68dd5eeb088086b7ffe6d0 /include/linux/srcutree.h
parentaed4e046863820e6d06ebf7c079e9ad924608edf (diff)
downloadlinux-09efeeee173e9f541b15157d30658cd8b23ec4f3.tar.xz
rcu: Move callback-list warning to irq-disable region
After adopting callbacks from a newly offlined CPU, the adopting CPU checks to make sure that its callback list's count is zero only if the list has no callbacks and vice versa. Unfortunately, it does so after enabling interrupts, which means that false positives are possible due to interrupt handlers invoking call_rcu(). Although these false positives are improbable, rcutorture did make it happen once. This commit therefore moves this check to an irq-disabled region of code, thus suppressing the false positive. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/srcutree.h')
0 files changed, 0 insertions, 0 deletions