Re: [PATCH] x86_64 add NX mask for PTE entry
From: Andi Kleen
Date: Wed Oct 18 2006 - 09:15:49 EST
On Wednesday 18 October 2006 13:45, bibo,mao wrote:
> Also I think change_page_attr is buggy. if orginal page is not
> large page, when that page's previous attr is reverted revert_page()
> function will be called to make that page huge. Indeed I think
> there is no need to do this.
On x86-64 all pages in the direct mapping are initially large pages.
On i386 not necessarily, but it deals with that.
-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/