[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFzxdGOW=7-x+41U4SZB5par7jKU9vuuhFdsQfZOuLiLtw@mail.gmail.com>
Date: Mon, 20 May 2013 10:21:09 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Michal Hocko <mhocko@...e.cz>
Cc: "H. Peter Anvin" <hpa@...or.com>,
"H. Peter Anvin" <hpa@...ux.intel.com>,
Fernando Luis Vázquez Cao <fernando@....ntt.co.jp>,
"Rafael J. Wysocki" <rjw@...k.pl>,
"the arch/x86 maintainers" <x86@...nel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Revert "x86-64, init: Do not set NX bits on non-NX
capable hardware"
On Mon, May 20, 2013 at 9:43 AM, Michal Hocko <mhocko@...e.cz> wrote:
>
> The configuration has been posted in the referenced thread:
> https://lkml.org/lkml/2013/5/14/398
Hmm. That's a regular intel i5 Sandybridge CPU. Which certainly has NX.
Hmm. secondary_startup_64 isn't __initcode, is it? I think it's used
for resuming the other CPU's too and for CPU hotplug. Yes/no?
If so early_pmd_flags shouldn't be __initdata, I think.
Michal, does it work if you don't do the revert, but just remove the
__initdata instead?
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists