Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-13 Thread Andrew Cooper
On 13/03/2018 10:22, Jan Beulich wrote: On 13.03.18 at 10:48, wrote: >> On 13/03/18 10:35, Jan Beulich wrote: >> On 13.03.18 at 10:27, wrote: On 13/03/18 09:07, Jan Beulich wrote: On 12.03.18 at 14:10, wrote: >> BTW:

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-13 Thread Jan Beulich
>>> On 13.03.18 at 10:48, wrote: > On 13/03/18 10:35, Jan Beulich wrote: > On 13.03.18 at 10:27, wrote: >>> On 13/03/18 09:07, Jan Beulich wrote: >>> On 12.03.18 at 14:10, wrote: > BTW: are you already working on rebasing your XPTI

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-13 Thread Juergen Gross
On 13/03/18 10:35, Jan Beulich wrote: On 13.03.18 at 10:27, wrote: >> On 13/03/18 09:07, Jan Beulich wrote: >> On 12.03.18 at 14:10, wrote: BTW: are you already working on rebasing your XPTI speed up series to current staging? I'd like my

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-13 Thread Jan Beulich
>>> On 13.03.18 at 10:27, wrote: > On 13/03/18 09:07, Jan Beulich wrote: > On 12.03.18 at 14:10, wrote: >>> BTW: are you already working on rebasing your XPTI speed up series to >>> current staging? I'd like my series to use your series as a base unless >>>

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-13 Thread Juergen Gross
On 13/03/18 09:07, Jan Beulich wrote: On 12.03.18 at 14:10, wrote: >> BTW: are you already working on rebasing your XPTI speed up series to >> current staging? I'd like my series to use your series as a base unless >> you are telling me you won't be able to resend your

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-13 Thread Jan Beulich
>>> On 12.03.18 at 14:10, wrote: > BTW: are you already working on rebasing your XPTI speed up series to > current staging? I'd like my series to use your series as a base unless > you are telling me you won't be able to resend your series soon. Coming back to my reply here

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-12 Thread Juergen Gross
On 12/03/18 14:13, Jan Beulich wrote: Juergen Gross 03/12/18 2:10 PM >>> >> BTW: are you already working on rebasing your XPTI speed up series to >> current staging? I'd like my series to use your series as a base unless >> you are telling me you won't be able to resend your

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-12 Thread Jan Beulich
>>> Juergen Gross 03/12/18 2:10 PM >>> >BTW: are you already working on rebasing your XPTI speed up series to >current staging? I'd like my series to use your series as a base unless >you are telling me you won't be able to resend your series soon. I hope to be able to get to

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-12 Thread Juergen Gross
On 12/03/18 13:59, Jan Beulich wrote: Juergen Gross 03/09/18 7:05 PM >>> >> On 09/03/18 16:29, Jan Beulich wrote: >> On 05.03.18 at 10:50, wrote: @@ -120,11 +121,24 @@ unsigned int flush_area_local(const void *va, unsigned int flags)

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-12 Thread Jan Beulich
>>> Juergen Gross 03/09/18 7:05 PM >>> >On 09/03/18 16:29, Jan Beulich wrote: > On 05.03.18 at 10:50, wrote: >>> @@ -120,11 +121,24 @@ unsigned int flush_area_local(const void *va, >>> unsigned int flags) >>> else >>> { >>>

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-09 Thread Juergen Gross
On 09/03/18 16:29, Jan Beulich wrote: On 05.03.18 at 10:50, wrote: >> @@ -120,11 +121,24 @@ unsigned int flush_area_local(const void *va, unsigned >> int flags) >> else >> { >> u32 t = pre_flush(); >> -unsigned long cr4 =

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-09 Thread Jan Beulich
>>> On 05.03.18 at 10:50, wrote: > @@ -120,11 +121,24 @@ unsigned int flush_area_local(const void *va, unsigned > int flags) > else > { > u32 t = pre_flush(); > -unsigned long cr4 = read_cr4(); > > -write_cr4(cr4 &

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-05 Thread Jan Beulich
>>> On 05.03.18 at 14:31, wrote: > On Mon, Mar 05, 2018 at 06:24:37AM -0700, Jan Beulich wrote: >> >>> On 05.03.18 at 14:11, wrote: >> > On 05/03/18 13:57, Andrew Cooper wrote: >> >> When we start using PCID for user mappings, then we don't need them to >>

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-05 Thread Andrew Cooper
On 05/03/18 13:31, Wei Liu wrote: > On Mon, Mar 05, 2018 at 06:24:37AM -0700, Jan Beulich wrote: > On 05.03.18 at 14:11, wrote: >>> On 05/03/18 13:57, Andrew Cooper wrote: When we start using PCID for user mappings, then we don't need them to be global, at which

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-05 Thread Wei Liu
On Mon, Mar 05, 2018 at 06:24:37AM -0700, Jan Beulich wrote: > >>> On 05.03.18 at 14:11, wrote: > > On 05/03/18 13:57, Andrew Cooper wrote: > >> When we start using PCID for user mappings, then we don't need them to > >> be global, at which point we can require/expect that the

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-05 Thread Jan Beulich
>>> On 05.03.18 at 14:11, wrote: > On 05/03/18 13:57, Andrew Cooper wrote: >> When we start using PCID for user mappings, then we don't need them to >> be global, at which point we can require/expect that the only global >> mappings are hypervisor ones which we expect to remain

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-05 Thread Juergen Gross
On 05/03/18 13:57, Andrew Cooper wrote: > On 05/03/18 12:54, Jan Beulich wrote: > On 05.03.18 at 13:35, wrote: >>> On 05/03/18 12:06, Juergen Gross wrote: On 05/03/18 12:50, Andrew Cooper wrote: > On 05/03/18 11:31, Jan Beulich wrote: > On 05.03.18

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-05 Thread Andrew Cooper
On 05/03/18 12:54, Jan Beulich wrote: On 05.03.18 at 13:35, wrote: >> On 05/03/18 12:06, Juergen Gross wrote: >>> On 05/03/18 12:50, Andrew Cooper wrote: On 05/03/18 11:31, Jan Beulich wrote: On 05.03.18 at 10:50, wrote: >>

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-05 Thread Jan Beulich
>>> On 05.03.18 at 13:35, wrote: > On 05/03/18 12:06, Juergen Gross wrote: >> On 05/03/18 12:50, Andrew Cooper wrote: >>> On 05/03/18 11:31, Jan Beulich wrote: >>> On 05.03.18 at 10:50, wrote: > Signed-off-by: Wei Liu

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-05 Thread Andrew Cooper
On 05/03/18 12:06, Juergen Gross wrote: > On 05/03/18 12:50, Andrew Cooper wrote: >> On 05/03/18 11:31, Jan Beulich wrote: >> On 05.03.18 at 10:50, wrote: Signed-off-by: Wei Liu >>> No description at all? I'd at least expect mention of how much

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-05 Thread Juergen Gross
On 05/03/18 12:50, Andrew Cooper wrote: > On 05/03/18 11:31, Jan Beulich wrote: > On 05.03.18 at 10:50, wrote: >>> Signed-off-by: Wei Liu >> No description at all? I'd at least expect mention of how much of a >> performance win this is (for whichever

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-05 Thread Andrew Cooper
On 05/03/18 11:31, Jan Beulich wrote: On 05.03.18 at 10:50, wrote: >> Signed-off-by: Wei Liu > No description at all? I'd at least expect mention of how much of a > performance win this is (for whichever hardware you happen to > know that). > >> @@

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-05 Thread Jan Beulich
>>> On 05.03.18 at 10:50, wrote: > Signed-off-by: Wei Liu No description at all? I'd at least expect mention of how much of a performance win this is (for whichever hardware you happen to know that). > @@ -120,11 +121,24 @@ unsigned int

Re: [Xen-devel] [PATCH 2/2] x86: use invpcid to do global flushing

2018-03-05 Thread Juergen Gross
On 05/03/18 10:50, Wei Liu wrote: > Signed-off-by: Wei Liu Reviewed-by: Juergen Gross Juergen ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel