Re: serious performance regression due to NX patch

Andi Kleen
2004-07-11T12:43:18Z

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