Re: 4.4-rc5: ugly warn on: 5 W+X pages found

From: Linus Torvalds
Date: Tue Dec 15 2015 - 14:08:27 EST


On Tue, Dec 15, 2015 at 10:40 AM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
>
> Shouldn't we switch those two lines?

No. This is for debugging Pavel's issue. If somehow the
__supported_pte_mask ends up having NX clear again (memory scribble,
whatever), we very explicitly would want to catch that.

I'm *not* suggesting this as a generic patch to be applied anywhere
else. That patch is meant to debug Pavel's particular setup, and
nothing else.

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/