Messages in this thread | | | From | Andi Kleen <> | Subject | Re: softlockup interaction with slow consoles | Date | Tue, 21 Feb 2006 21:43:46 +0100 |
| |
On Tuesday 21 February 2006 21:19, David S. Miller wrote: > From: Andi Kleen <ak@suse.de> > Date: Tue, 21 Feb 2006 21:05:37 +0100 > > > The classic way is to just use touch_nmi_watchdog() somewhere > > in the loop that does work. That touches the softwatchdog too > > these days. > > "jiffies" aren't advancing, since interrupts are disabled by > release_console_sem(), so that doesn't work. > > I tried that already :-)
Ah I see the problem I guess. When you restart then your timer interrupt catches up the missing jiffies very quickly and that triggers the softwatchdog.
Nasty. Perhaps it needs to look at xtime instead and let touch_softlockup_watchdog() update that. But that could break with NTP then. Perhaps using monotonic_clock() ?
-Andi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |