Re: [PATCH 7/15] misc: Make x86 doublefault handling optional

Andi Kleen
2005-12-12T11:51:28Z

Ingo Molnar <mingo@elte.hu> writes:
>
> in the past couple of years i saw double-faults at a rate of perhaps
> once a year - and i frequently hack lowlevel glue code! So the
> usefulness of this code in the field, and especially on an embedded
> platforms, is extremely limited.

If it only saves an hour or developer time on some bug report
it has already justified its value.

Also to really save memory there are much better areas
of attack than this relatively slim code.

> in fact, i've experienced triple-faults (== spontaneous reboots) to be
> at least 10 times more frequent than double-faults! I.e. _if_ your
> kernel (or hardware) is screwed up to the degree that it would
> double-fault, it will much more likely also triple-fault.

A common case where this doesn't hold is breaking the [er]sp
in kernel code.

-Andi (who sees double faults more often)