Re: serious performance regression due to NX patch
From: Andi Kleen
Date: Sun Jul 11 2004 - 07:45:31 EST
On Sun, Jul 11, 2004 at 07:56:10AM -0400, Ingo Molnar wrote:
>
> On Sun, 11 Jul 2004, Andi Kleen wrote:
>
> > > +#ifdef __i386__
> >
> > Won't do on x86-64.
>
> well on x86-64 'non-executable' really means non-executable, and always
> did, right? (and this is completely separate from the issue of whether the
> process stack is executable or not. This is about x86 that didnt enforce
> the vma's protection bit.)
Not quite - there is 32bit emulation. And the 64bit version also doesn't
do NX by default, but also relies on ELF header bits for this.
-Andi
-
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/