Two small patches which reduce the runtime overhead of detecting HAP
superpages by moving more initialisation into __init.

Noticed while reviewing "x86/p2m: use large pages for MMIO mappings".

Andrew Cooper (2):
  x86/hvm: Refine hap_has_{2mb,1gb} checks
  x86/hvm: Fold opt_hap_{2mb,1gb} into hap_capabilities

 xen/arch/x86/hvm/hvm.c        |    8 ++++++++
 xen/arch/x86/mm/p2m-ept.c     |    4 ++--
 xen/arch/x86/mm/p2m.c         |   10 ++++------
 xen/include/asm-x86/hvm/hvm.h |    6 ++----
 4 files changed, 16 insertions(+), 12 deletions(-)

-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to