Re: [PATCH] Revert "x86-64, init: Do not set NX bits on non-NXcapable hardware"

From: Linus Torvalds
Date: Mon May 20 2013 - 14:18:22 EST


On Mon, May 20, 2013 at 11:13 AM, H. Peter Anvin <hpa@xxxxxxxxxxxxxxx> wrote:
>
> Indeed. Looks like we corrupt a random bit in memory on resume.

Well, in this case, it's probably the DEBUG_PAGEALLOC that Michal has
enabled, which causes a page fault - and then a triple fault - at
secondary CPU startup. And the triple fault then results in a reboot.
Which explains the symptoms he gets.

Without DEBUG_PAGEALLOC it ends up being "just" a single-bit corruption, yes.

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