tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: x86: map kernel DATA+BSS with NX/XD bit



On Sat, Nov 28, 2015 at 07:54:10PM +0100, Maxime Villard wrote:
> Hi,
> here is a (draft) patch to map the kernel DATA and BSS segments with
> the NX/XD bit in the PTEs on i386+amd64.

Pretty sure this won't work on i386.  You have to have PAE enabled
before you can use NX/XD in the MMU.  AFAIK i386 GENERIC does not run
using PAE.

	Jonathan Kollasch


Home | Main Index | Thread Index | Old Index