RE: NonExecutable Bit in 32Bit

From: Cestonaro, Thilo \(external\)
Date: Wed Apr 25 2007 - 02:59:15 EST


> > > > CONFIG_HIGHMEM64G=y
> > > > CONFIG_HIGHMEM=y
> > > > CONFIG_X86_PAE=y
> > >
> > > Ok in highmem it's active, whats about lowmem?
> > > x86-64 is NX active for lowmem too AFAIK.
> >
> > It's more of an issue of having PAE enabled.
> > Without PAE you are not able to use the the NX bit.
> That's the way the CPU works, not Linux.
>
> Forgot to add:
> from arch/i386/Kconfig:
> config X86_PAE
> bool
> depends on HIGHMEM64G
> default y
> select RESOURCES_64BIT
>
> > Hope this helps.
> >

Just that I get it right, NX just works with PAE enabled, and PAE just works with HIGHMEM64G enabled.
And this prevents the lowmemory to be secured by NX?

Ciao Thilo
-
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/