Re: [Xen-devel] [PATCH v9 0/9] xen/x86: various XPTI speedups

2018-05-04 Thread Wei Liu
On Thu, Apr 26, 2018 at 01:33:09PM +0200, Juergen Gross wrote: > Juergen Gross (9): > x86/xpti: avoid copying L4 page table contents when possible > xen/x86: add a function for modifying cr3 > xen/x86: support per-domain flag for xpti > xen/x86: use invpcid for flushing the TLB > xen/x86:

Re: [Xen-devel] [PATCH v9 0/9] xen/x86: various XPTI speedups

2018-05-03 Thread Juergen Gross
On 03/05/18 19:41, Andrew Cooper wrote: > On 02/05/18 11:38, Juergen Gross wrote: >> On 01/05/18 11:28, Andrew Cooper wrote: >>> On 26/04/18 12:33, Juergen Gross wrote: This patch series aims at reducing the overhead of the XPTI Meltdown mitigation. >>> With just the first 3 patches of th

Re: [Xen-devel] [PATCH v9 0/9] xen/x86: various XPTI speedups

2018-05-03 Thread Andrew Cooper
On 02/05/18 11:38, Juergen Gross wrote: > On 01/05/18 11:28, Andrew Cooper wrote: >> On 26/04/18 12:33, Juergen Gross wrote: >>> This patch series aims at reducing the overhead of the XPTI Meltdown >>> mitigation. >> With just the first 3 patches of this series (in a bisection attempt), >> on a Xen

Re: [Xen-devel] [PATCH v9 0/9] xen/x86: various XPTI speedups

2018-05-02 Thread Juergen Gross
On 01/05/18 11:28, Andrew Cooper wrote: > On 26/04/18 12:33, Juergen Gross wrote: >> This patch series aims at reducing the overhead of the XPTI Meltdown >> mitigation. > > With just the first 3 patches of this series (in a bisection attempt), > on a XenServer build based off staging, XenRT finds

Re: [Xen-devel] [PATCH v9 0/9] xen/x86: various XPTI speedups

2018-05-01 Thread Andrew Cooper
On 26/04/18 12:33, Juergen Gross wrote: > This patch series aims at reducing the overhead of the XPTI Meltdown > mitigation. With just the first 3 patches of this series (in a bisection attempt), on a XenServer build based off staging, XenRT finds the following: (XEN) Assertion 'first_dirty != IN

[Xen-devel] [PATCH v9 0/9] xen/x86: various XPTI speedups

2018-04-26 Thread Juergen Gross
This patch series aims at reducing the overhead of the XPTI Meltdown mitigation. Patch 1 had been posted before, the main changes in this patch are due to addressing Jan's comments on my first version. The main objective of that patch is to avoid copying the L4 page table each time the guest is be