Re: [PATCH] rwsem: Make rwsems use interrupt disabling spinlocks

From: Andrew Morton
Date: Fri Mar 11 2005 - 05:10:33 EST


Ingo Molnar <mingo@xxxxxxx> wrote:
>
>
> * Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
>
> > > Ingo, we already have a touch_nmi_watchdog() in the sysrq code. It might be
> > > worth adding a touch_softlockup_watchdog() wherever we have a
> > > touch_nmi_watchdog().
> >
> > ....or add touch_softlockup_watchdog to touch_nmi_watchdog() instead
> > and rename it tickle_watchdog() overtime.
>
> you mean like:
>
> +extern void touch_softlockup_watchdog(void);
>
> in:
>
> http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm2/broken-out/detect-soft-lockups.patch
>
> ?
>

Nope.

This particular lockup happened because a huge stream of stuff was sent to
the serial console.

We already have a touch_nmi_watchdog() in that code.

We should arrange for touch_softlockup_watchdog() to be called whenever
touch_nmi_watchdog() is called.

-
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/