[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1201253437.15972.60.camel@caritas-dev.intel.com>
Date: Fri, 25 Jan 2008 17:30:37 +0800
From: "Huang, Ying" <ying.huang@...el.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Jeremy Fitzhardinge <jeremy@...p.org>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>, Andi Kleen <ak@...e.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/6] x86: fix some bugs about EFI runtime code mapping
On Fri, 2008-01-25 at 10:19 +0100, Ingo Molnar wrote:
> * Jeremy Fitzhardinge <jeremy@...p.org> wrote:
>
> >> +#if defined(CONFIG_X86_64) || defined(CONFIG_X86_PAE)
> >> +static void __init runtime_code_page_mkexec(void)
> >> +{
> >> + efi_memory_desc_t *md;
> >> + unsigned long end;
> >> + void *p;
> >> +
> >> + if (!(__supported_pte_mask & _PAGE_NX))
> >> + return;
> >>
> >
> > On 32-bit non-PAE, _PAGE_NX == 0, so this if() statement should be
> > sufficient to disable the whole function at compile time without
> > needing the outer #if defined wrapper.
>
> good point. The patch fixes bugs and the consolidation it does is very
> nice so i've applied it already, but we could indeed further consolidate
> it and make it a nice #ifdef-less function. Could one of you send an
> add-on patch for this?
I will do it. But I have some other thing to do now, so I will send it
on next Monday.
Best Regards,
Huang Ying
--
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