Skip to content

CPU stall-warning changes for 3.8

Paul E. McKenney lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rcu: Print remote CPU's stacks in stall warningsinclude/linux/sched.h kernel/rcutree.c kernel/sched/core.c+32 -10 replies
2/4rcu: Add grace-period information to RCU CPU stall warningskernel/rcutree.c+5 -30 replies
3/4rcu: Dump number of callbacks in stall warning messageskernel/rcutree.c+11 -40 replies
4/4rcu: Provide RCU CPU stall warnings for tiny RCUkernel/rcu.h kernel/rcupdate.c kernel/rcutiny.c +4 more+123 -510 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/4] CPU stall-warning changes for 3.8

Hello!

This patch series adds updates to RCU's CPU stall warning capability, with patches as follows:

1. For architectures without NMI-based stack-dump capability,
have the current CPU remotely access the stalled CPU's stack to dump it.
2. Include the number of the last grace period started and completed
in RCU CPU stall warning messages.
3. Dump the number of RCU callbacks on the system in order to help
diagnose situations where spurious grace periods were started.
4. Prototype patch to provide RCU CPU stall warning messages for
Tiny RCU.

Thanx, Paul

 b/include/linux/sched.h   |    2 
 b/kernel/rcu.h            |    7 +++
 b/kernel/rcupdate.c       |   52 +++++++++++++++++++++++++
 b/kernel/rcutiny.c        |    6 +-
 b/kernel/rcutiny_plugin.h |   56 +++++++++++++++++++++++++++
 b/kernel/rcutree.c        |   94 +++++++++++++++++++++-------------------------
 b/kernel/rcutree.h        |    5 --
 b/kernel/sched/core.c     |    6 ++
 b/lib/Kconfig.debug       |    2 
 9 files changed, 171 insertions(+), 59 deletions(-)