aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-03-24 06:18:41 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 10:33:30 -0500
commit6687a97d4041f996f725902d2990e5de6ef5cbe5 (patch)
tree6ab982091cde7179d94cf592f9c669fd22d93a23 /include/linux/sched.h
parent6a4d11c2abc57ed7ca42041e5f68ae4f7f640a81 (diff)
[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>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 2cda439ece43..e0054c1b9a09 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -206,11 +206,11 @@ extern void update_process_times(int user);
206extern void scheduler_tick(void); 206extern void scheduler_tick(void);
207 207
208#ifdef CONFIG_DETECT_SOFTLOCKUP 208#ifdef CONFIG_DETECT_SOFTLOCKUP
209extern void softlockup_tick(struct pt_regs *regs); 209extern void softlockup_tick(void);
210extern void spawn_softlockup_task(void); 210extern void spawn_softlockup_task(void);
211extern void touch_softlockup_watchdog(void); 211extern void touch_softlockup_watchdog(void);
212#else 212#else
213static inline void softlockup_tick(struct pt_regs *regs) 213static inline void softlockup_tick(void)
214{ 214{
215} 215}
216static inline void spawn_softlockup_task(void) 216static inline void spawn_softlockup_task(void)