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

From: Ingo Molnar
Date: Mon Dec 12 2005 - 05:37:56 EST



* Scott Garfinkle <scotteglist@xxxxxxxxx> wrote:

> I tend to agree with the spirit of Andi's comment -- disabling this
> will (I think) make the rare time when it happens into something
> impossible to debug without a new kernel and reproducing the problem.

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.

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.

IIRC we added the double-fault handler to debug the PAE code originally.
Now years down the road, making it configurable-out if EMBEDDED makes
lots of sense.

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/