]> git.baikalelectronics.ru Git - kernel.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)
commit972ce4b01eb93e585960e1e8e432d59873de2ae6
treea768a5aecca5e268ca4a90e9a312f87c729d4438
parentb34871d85d1346a281b1a1cbe802dd8985f58b16
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