> From: Jan Beulich [mailto:[email protected]]
> Sent: Thursday, March 8, 2018 7:16 PM
> 
> Instead of using RDMSR/WRMSR, on fsgsbase-capable systems use a
> double
> SWAPGS combined with RDGSBASE/WRGSBASE. This halves execution time
> for
> a shadow GS update alone on my Haswell (and we have indications of
> good performance improvements by this on Skylake too), while the win is
> even higher when e.g. updating more than one base (as may and
> commonly
> will happen in load_segments()).
> 
> Signed-off-by: Jan Beulich <[email protected]>

Reviewed-by: Kevin Tian <[email protected]>

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to