diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-08-03 03:34:24 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-09-28 21:38:36 -0700 |
commit | 4627e240dfee4a0a46a58010b1b721b4ded1918f (patch) | |
tree | 807cc0618bc843800aa85fd6d20b4e9ee7adb74b /block | |
parent | 6206ab9bab620fc0fbbed30ce20d145b0b3d1840 (diff) | |
download | linux-4627e240dfee4a0a46a58010b1b721b4ded1918f.tar.gz linux-4627e240dfee4a0a46a58010b1b721b4ded1918f.tar.bz2 linux-4627e240dfee4a0a46a58010b1b721b4ded1918f.zip |
rcu: Dump local stack if cannot dump all CPUs' stacks
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: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions