mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[PATCH] timer-irq-driven soft-watchdog, cleanups
Make the softlockup detector purely timer-interrupt driven, removing softirq-context (timer) dependencies. This means that if the softlockup watchdog triggers, it has truly observed a longer than 10 seconds scheduling delay of a SCHED_FIFO prio 99 task. (the patch also turns off the softlockup detector during the initial bootup phase and does small style fixes) Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
6a4d11c2ab
commit
6687a97d40
3 changed files with 33 additions and 27 deletions
|
@ -915,6 +915,7 @@ static void run_timer_softirq(struct softirq_action *h)
|
|||
void run_local_timers(void)
|
||||
{
|
||||
raise_softirq(TIMER_SOFTIRQ);
|
||||
softlockup_tick();
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -945,7 +946,6 @@ void do_timer(struct pt_regs *regs)
|
|||
/* prevent loading jiffies before storing new jiffies_64 value. */
|
||||
barrier();
|
||||
update_times();
|
||||
softlockup_tick(regs);
|
||||
}
|
||||
|
||||
#ifdef __ARCH_WANT_SYS_ALARM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue