Re: [PATCH] i386: don't blindly enable interrupts in die()

From: Jan Beulich
Date: Wed Nov 09 2005 - 03:05:15 EST


>>> Andrew Morton <akpm@xxxxxxxx> 08.11.05 23:57:21 >>>
>"Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:
>>
>> Rather than blindly re-enabling interrupts in die(), save their
state
>> upon entry and then restore that state.
>
>What is the reason for this change?

If the kernel is in really bad condition and faults with interrupts
disabled, re-enabling them in die() may cause even more trouble,
implying more chances of data corruption.

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