Re: [PATCH] NX protection for kernel data : fix 32 bits S3 suspend

From: H. Peter Anvin
Date: Sun Feb 06 2011 - 22:57:36 EST


On 02/05/2011 08:46 AM, castet.matthieu@xxxxxxx wrote:
>
> Doing the setting in a arch_initcall make it work.
>

Thinking about it, it's probably the sanest thing to do in the very
short term. I don't get the #ifdef CONFIG_X86_32 bit in your patch,
though. We reserve this area even on 64 bits, and so we should
logically do the same thing, if nothing else to avoid gratuitous
differences.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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