Re: [PATCH] softlockup: fix NMI hangs due to lock race - 2.6.26-rcregression

From: Ingo Molnar
Date: Mon Jun 02 2008 - 06:39:59 EST



* Jason Wessel <jason.wessel@xxxxxxxxxxxxx> wrote:

> The touch_nmi_watchdog() routine on x86 ultimately calls
> touch_softlockup_watchdog(). The problem is that to touch the
> softlockup watchdog, the cpu_clock code has to be called which could
> involve multiple cpu locks and can lead to a hard hang if one of the
> locks is held by a processor that is not going to return anytime soon
> (such as could be the case with kgdb or perhaps even with some other
> kind of exception).
>
> This patch causes the public version of the
> touch_softlockup_watchdog() to defer the cpu clock access to a later
> point.

applied to tip/core/softlockup and cherry-picked it into tip/core/urgent
as well for v2.6.26 merge. Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/