Re: [PATCH 1/6] x86: fix NX bit handling in change_page_attr

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Friday, January 25, 2008 - 1:46 am

* Jeremy Fitzhardinge <jeremy@goop.org> wrote:



oops, nice detail!


applied it with the following cleanup from Thomas:

 static int split_large_page(pte_t *kpte, unsigned long address)
 {
-       pgprot_t ref_prot = pte_pgprot(pte_clrhuge(*kpte));
+       pgprot_t ref_prot;
...
+       ref_prot = pte_pgprot(pte_mkexec(pte_clrhuge(*kpte)));

i.e. it now goes through all the proper accessors.

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/6] x86: fix NX bit handling in change_page_attr, Jeremy Fitzhardinge, (Fri Jan 25, 12:32 am)
Re: [PATCH 1/6] x86: fix NX bit handling in change_page_attr, Ingo Molnar, (Fri Jan 25, 1:46 am)
Re: [PATCH 1/6] x86: fix NX bit handling in change_page_attr, Jeremy Fitzhardinge, (Fri Jan 25, 1:05 pm)