[lkml]   [2008]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/6] x86: fix NX bit handling in change_page_attr

* Ingo Molnar <> wrote:

> ...
> + ref_prot = pte_pgprot(pte_mkexec(pte_clrhuge(*kpte)));
> i.e. it now goes through all the proper accessors.

i guess it would be nicer to have the proper accessors to just clear the
NX bit from ref-prot - instead of re-constructing the *kpte from
scratch. But i see no other way to do it right now than to access
pgprot_val() as an lvalue. Jeremy, what would be the best approach here?


 \ /
  Last update: 2008-01-25 11:35    [W:0.036 / U:0.160 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site