Skip to content

x86/pv: Minor perf improvements in segment handling

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86/asm: Rename FS/GS base helpersxen/arch/x86/domain.c xen/arch/x86/hvm/vmx/vmx.c xen/arch/x86/pv/domain.c +4 more+30 -302 replies
2/5x86/asm: Split __wr{fs, gs}base() out of write_{fs, gs}_base()xen/include/asm-x86/msr.h+20 -102 replies
3/5x86/pv: Optimise prefetching in svm_load_segs()xen/arch/x86/domain.c xen/arch/x86/hvm/svm/svm.c xen/include/asm-x86/hvm/svm/svm.h+26 -243 replies
4/5x86/pv: Optimise to the segment context switching pathsxen/arch/x86/domain.c+49 -213 replies
5/5x86/pv: Simplify emulation for the 64bit base MSRsxen/arch/x86/pv/emul-priv-op.c+18 -162 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJan BeulichKevin Tian
1/5A-b R-b
2/5A-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] x86/pv: Minor perf improvements in segment handling

This is follow-on work from the fixes for Linux 5.9 with FSGSBASE.

Andrew Cooper (5):
x86/asm: Rename FS/GS base helpers
x86/asm: Split __wr{fs,gs}base() out of write_{fs,gs}_base() x86/pv: Optimise prefetching in svm_load_segs() x86/pv: Optimise to the segment context switching paths x86/pv: Simplify emulation for the 64bit base MSRs

 xen/arch/x86/domain.c             | 72 +++++++++++++++++++++++++++------------
 xen/arch/x86/hvm/svm/svm.c        | 43 +++++++++++------------
 xen/arch/x86/hvm/vmx/vmx.c        |  8 ++---
 xen/arch/x86/pv/domain.c          |  2 +-
 xen/arch/x86/pv/emul-priv-op.c    | 42 ++++++++++++-----------
 xen/arch/x86/x86_64/mm.c          |  8 ++---
 xen/arch/x86/x86_64/traps.c       |  6 ++--
 xen/include/asm-x86/hvm/svm/svm.h |  5 +--
 xen/include/asm-x86/msr.h         | 42 ++++++++++++++---------
 9 files changed, 135 insertions(+), 93 deletions(-)
Signature · 1 line
2.11.0