Re: 2.6.23 regression: accessing invalid mmap'ed memory from gdbcauses unkillable spinning

From: Ingo Molnar
Date: Fri Nov 02 2007 - 11:37:12 EST



* Nick Piggin <npiggin@xxxxxxx> wrote:

> > This means that even if some cpu is stuck in a spinlock loop with
> > interrupts disabled, you'd see it with this thing. The way it works
> > is that cross cpu vectored interrupts are disabled independently of
> > the processor interrupt level on sparc64.
>
> That's really sweet. I'd better put my code where my mouth is as
> well... this patch seems to be about the best we can do as a generic
> fallback without getting a dedicated vector (which has to be done in
> arch code anyway).

btw., in -rt we had something like this implemented as an NMI mechanism
(for x86) - that way it's guaranteed that we get some output even from
locked up CPUs.

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/