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>
This commit is contained in:
parent
16cdc628c3
commit
fb70b5888b
@ -47,6 +47,7 @@
|
|||||||
#include <linux/pid.h>
|
#include <linux/pid.h>
|
||||||
#include <linux/smp.h>
|
#include <linux/smp.h>
|
||||||
#include <linux/mm.h>
|
#include <linux/mm.h>
|
||||||
|
#include <linux/rcupdate.h>
|
||||||
|
|
||||||
#include <asm/cacheflush.h>
|
#include <asm/cacheflush.h>
|
||||||
#include <asm/byteorder.h>
|
#include <asm/byteorder.h>
|
||||||
@ -474,6 +475,7 @@ static void dbg_touch_watchdogs(void)
|
|||||||
{
|
{
|
||||||
touch_softlockup_watchdog_sync();
|
touch_softlockup_watchdog_sync();
|
||||||
clocksource_touch_watchdog();
|
clocksource_touch_watchdog();
|
||||||
|
rcu_cpu_stall_reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs)
|
static int kgdb_cpu_enter(struct kgdb_state *ks, struct pt_regs *regs)
|
||||||
|
Loading…
Reference in New Issue
Block a user