Re: [BUGFIX] x86_64: NX bit handling in change_page_attr

2007-09-12 Thread Huang, Ying
On Wed, 2007-09-12 at 15:35 +0200, Andi Kleen wrote: > > > Index: linux-2.6.23-rc2-mm2/arch/x86_64/mm/pageattr.c > > > === > > > --- linux-2.6.23-rc2-mm2.orig/arch/x86_64/mm/pageattr.c 2007-08-17 > > > 12:50:25.0 +0800 +++ >

Re: [BUGFIX] x86_64: NX bit handling in change_page_attr

2007-09-12 Thread Andi Kleen
> > Index: linux-2.6.23-rc2-mm2/arch/x86_64/mm/pageattr.c > > === > > --- linux-2.6.23-rc2-mm2.orig/arch/x86_64/mm/pageattr.c 2007-08-17 > > 12:50:25.0 +0800 +++ > > linux-2.6.23-rc2-mm2/arch/x86_64/mm/pageattr.c 2007

Re: [BUGFIX] x86_64: NX bit handling in change_page_attr

2007-09-11 Thread Huang, Ying
On Tue, 2007-09-11 at 20:23 -0700, Andrew Morton wrote: > On Fri, 17 Aug 2007 13:28:38 +0800 "Huang, Ying" <[EMAIL PROTECTED]> wrote: > > > This patch fixes a bug of change_page_attr/change_page_attr_addr on > > Intel x86_64 CPU. After changing page attribute to be executable with > > these functi

Re: [BUGFIX] x86_64: NX bit handling in change_page_attr

2007-09-11 Thread Andrew Morton
On Fri, 17 Aug 2007 13:28:38 +0800 "Huang, Ying" <[EMAIL PROTECTED]> wrote: > This patch fixes a bug of change_page_attr/change_page_attr_addr on > Intel x86_64 CPU. After changing page attribute to be executable with > these functions, the page remains un-executable on Intel x86_64 > CPU. Because