diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2010-08-13 19:44:04 +0200 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-10-22 22:34:10 +0200 |
commit | fb70b5888b70b0b50f738fbfc019445493112eb1 (patch) | |
tree | ee35bfc0e78af0702756d15e05ed09f0f56e18ac /kernel/debug | |
parent | debug_core: move all watch dog syncs to a single function (diff) | |
download | linux-fb70b5888b70b0b50f738fbfc019445493112eb1.tar.xz linux-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) |