mbox series

[0/2] x86: improve assisted tlb flush and use it in guest mode

Message ID 20191224132616.47441-1-roger.pau@citrix.com (mailing list archive)
Headers show
Series x86: improve assisted tlb flush and use it in guest mode | expand

Message

Roger Pau Monné Dec. 24, 2019, 1:26 p.m. UTC
Hello,

The following series aims to improve the tlb flush times when running
nested Xen, and it's specially beneficial when running in shim mode.

See patch #2 for a comparison on the performance of the L0 assisted
flush vs using x2APIC shorthand.

Thanks, Roger.

Roger Pau Monne (2):
  x86/hvm: improve performance of HVMOP_flush_tlbs
  x86/tlb: use Xen L0 assisted TLB flush when available

 xen/arch/x86/guest/xen/xen.c    | 11 +++++++
 xen/arch/x86/hvm/hvm.c          | 55 ++++++++++++++++++++++-----------
 xen/arch/x86/smp.c              |  6 ++++
 xen/include/asm-x86/guest/xen.h |  7 +++++
 4 files changed, 61 insertions(+), 18 deletions(-)