]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Suppress NMI backtraces when stall ends before dump
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 13 Aug 2011 20:31:47 +0000 (13:31 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 14 Aug 2011 22:56:28 +0000 (15:56 -0700)
commitb90c3b98f1af643ce43ed69964b3d501b63a413c
tree85cd02aa560c1f4757985076836be748b29b9ebb
parent0697a6c28e520ef4ce3ce9b7532e4374d47be90c
rcu: Suppress NMI backtraces when stall ends before dump

It is possible for an RCU CPU stall to end just as it is detected, in
which case the current code will uselessly dump all CPU's stacks.
This commit therefore checks for this condition and refrains from
sending needless NMIs.

And yes, the stall might also end just after we checked all CPUs and
tasks, but in that case we would at least have given some clue as
to which CPU/task was at fault.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c
kernel/rcutree.h
kernel/rcutree_plugin.h