diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2010-08-13 12:44:04 -0500 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-10-22 15:34:10 -0500 |
commit | fb70b5888b70b0b50f738fbfc019445493112eb1 (patch) | |
tree | ee35bfc0e78af0702756d15e05ed09f0f56e18ac /kernel/debug | |
parent | 16cdc628c3aed47d02205135b7e2f01e0064f566 (diff) | |
download | linux-stable-fb70b5888b70b0b50f738fbfc019445493112eb1.tar.gz linux-stable-fb70b5888b70b0b50f738fbfc019445493112eb1.tar.bz2 linux-stable-fb70b5888b70b0b50f738fbfc019445493112eb1.zip |
debug_core: stop rcu warnings on kernel resume
When returning from the kernel debugger reset the rcu jiffies_stall
value to prevent the rcu stall detector from sending NMI events which
invoke a stack dump for each cpu in the system.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/debug')
-rw-r--r-- | kernel/debug/debug_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c index c812857d0b80..5a3b04d20497 100644 --- a/kernel/debug/debug_core.c +++ b/kernel/debug/debug_core.c @@ -47,6 +47,7 @@ #include <linux/pid.h> #include <linux/smp.h> #include <linux/mm.h> +#include <linux/rcupdate.h> #include <asm/cacheflush.h> #include <asm/byteorder.h> @@ -474,6 +475,7 @@ static void dbg_touch_watchdogs(void) { touch_softlockup_watchdog_sync(); clocksource_touch_watchdog(); + rcu_cpu_stall_reset(); } static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs) |