• Paul E. McKenney's avatar
    rcu: Dump local stack if cannot dump all CPUs' stacks · 4627e240
    Paul E. McKenney authored
    The trigger_all_cpu_backtrace() function is a no-op in architectures that
    do not define arch_trigger_all_cpu_backtrace.  On such architectures, RCU
    CPU stall warning messages contain no stack trace information, which makes
    debugging quite difficult.  This commit therefore substitutes dump_stack()
    for architectures that do not define arch_trigger_all_cpu_backtrace,
    so that at least the local CPU's stack is dumped as part of the RCU CPU
    stall warning message.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    4627e240
rcutree.c 63.4 KB