Re: [PATCH] i386 double fault enhancements

From: Andi Kleen
Date: Thu Feb 23 2006 - 05:35:51 EST


Andrew Morton <akpm@xxxxxxxx> writes:

> Jan Beulich <jbeulich@xxxxxxxxxx> wrote:
> >
> > Make the double fault handler use CPU-specific stacks. Add some
> > abstraction to simplify future change of other exception handlers to go
> > through task gates. Change the pointer validity checks in the double
> > fault handler to account for the fact that both GDT and TSS aren't in
> > static kernel space anymore. Add a new notification of the event
> > through the die notifier chain, also providing some environmental
> > adjustments so that various infrastructural things work independent of
> > the fact that the fault and the callbacks are running on other then the
> > normal kernel stack.
>
> Why?

Means that if you have two double faults in parallel they still
work. Good for robustness under kernel bugs.

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