]> xenbits.xensource.com Git - xen.git/commit
x86/NPT: don't walk entire page tables when globally changing types
authorJan Beulich <jbeulich@suse.com>
Fri, 2 May 2014 09:53:38 +0000 (11:53 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 2 May 2014 09:53:38 +0000 (11:53 +0200)
commit9e52ad4f4d0d8051c9dd45a8b662cd1943ee486f
treef9b5638eccf634c4fde4d9da679ceb93e71ae281
parentb3e024f31f5bb034009e1287bc1fec61f996e377
x86/NPT: don't walk entire page tables when globally changing types

Instead leverage the NPF VM exit enforcement by marking just the top
level entries as needing recalculation of their type, building on the
respective range type change modifications.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/p2m-ept.c
xen/arch/x86/mm/p2m-pt.c
xen/arch/x86/mm/p2m.c