]> asedeno.scripts.mit.edu Git - linux.git/commit
rcu: Make RCU CPU stall warnings check for irq-disabled CPUs
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 18 Aug 2017 00:05:59 +0000 (17:05 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 9 Oct 2017 21:25:17 +0000 (14:25 -0700)
commit9b9500da81502738efa1b485a8835f174ff7be6d
treea768a5aecca5e268ca4a90e9a312f87c729d4438
parentf79c3ad6189624c3de0ad5521610c9e22a1c33cf
rcu: Make RCU CPU stall warnings check for irq-disabled CPUs

One common question upon seeing an RCU CPU stall warning is "did
the stalled CPUs have interrupts disabled?"  However, the current
stall warnings are silent on this point.  This commit therefore
uses irq_work to check whether stalled CPUs still respond to IPIs,
and flags this state in the RCU CPU stall warning console messages.

Reported-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c
kernel/rcu/tree.h
kernel/rcu/tree_plugin.h