[Xen-devel] [PATCH 0/2] x86/pvshim: improve tlb flush performance

Roger Pau Monne posted 2 patches 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20191125172213.1904-1-roger.pau@citrix.com
xen/arch/x86/flushtlb.c  | 9 +++++----
xen/arch/x86/pv/domain.c | 3 ++-
2 files changed, 7 insertions(+), 5 deletions(-)

[Xen-devel] [PATCH 0/2] x86/pvshim: improve tlb flush performance

Posted by Roger Pau Monne 1 week ago
Hello,

Enabling PGE in CR4 causes a huge performance penalty when running the
shim on AMD hardware, this patch series avoids enabling PGE when in
shim mode, and makes a small adjustment in do_tlb_flush to perform a
flush by writing to CR3 if PGE is not enabled.

Roger Pau Monne (2):
  x86/tlbflush: do not toggle the PGE CR4 bit unless necessary
  x86/pvshim: do not enable global pages in shim mode

 xen/arch/x86/flushtlb.c  | 9 +++++----
 xen/arch/x86/pv/domain.c | 3 ++-
 2 files changed, 7 insertions(+), 5 deletions(-)

-- 
2.24.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel