Re: [Xen-devel] [PATCH v5 5/7] xen/x86: disable global pages for domains with XPTI active

2018-04-06 Thread Juergen Gross
On 06/04/18 17:17, Andrew Cooper wrote: > On 06/04/18 08:52, Juergen Gross wrote: >> Instead of flushing the TLB from global pages when switching address >> spaces with XPTI being active just disable global pages via %cr4 >> completely when a domain subject to XPTI is active. This avoids the >>

Re: [Xen-devel] [PATCH v5 5/7] xen/x86: disable global pages for domains with XPTI active

2018-04-06 Thread Andrew Cooper
On 06/04/18 08:52, Juergen Gross wrote: > Instead of flushing the TLB from global pages when switching address > spaces with XPTI being active just disable global pages via %cr4 > completely when a domain subject to XPTI is active. This avoids the > need for extra TLB flushes as loading %cr3 will