Re: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-30 Thread Stephen Hemminger
.de>; Ingo Molnar <mi...@redhat.com>; H. > > Peter Anvin <h...@zytor.com>; Steven Rostedt <rost...@goodmis.org>; Jork > > Loeser <jork.loe...@microsoft.com>; Simon Xiao <six...@microsoft.com>; > > Andy Lutomirski <l...@kernel.org> > > Subj

Re: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-30 Thread Stephen Hemminger
verproject.org; linux- > > ker...@vger.kernel.org; KY Srinivasan ; Haiyang Zhang > > ; Stephen Hemminger ; > > Thomas Gleixner ; Ingo Molnar ; H. > > Peter Anvin ; Steven Rostedt ; Jork > > Loeser ; Simon Xiao ; > > Andy Lutomirski > > Subject: Re: [PATCH v5 08/10] x86/

Re: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-30 Thread Andy Shevchenko
On Tue, May 30, 2017 at 10:17 PM, Jork Loeser wrote: >> > +#define HV_FLUSH_ALL_PROCESSORS0x0001 >> > +#define HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES0x0002 >> > +#define HV_FLUSH_NON_GLOBAL_MAPPINGS_ONLY 0x0004 >> > +#define

Re: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-30 Thread Andy Shevchenko
On Tue, May 30, 2017 at 10:17 PM, Jork Loeser wrote: >> > +#define HV_FLUSH_ALL_PROCESSORS0x0001 >> > +#define HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES0x0002 >> > +#define HV_FLUSH_NON_GLOBAL_MAPPINGS_ONLY 0x0004 >> > +#define

RE: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-30 Thread Jork Loeser
Jork > Loeser <jork.loe...@microsoft.com>; Simon Xiao <six...@microsoft.com>; > Andy Lutomirski <l...@kernel.org> > Subject: Re: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush > > On Tue, May 30, 2017 at 2:34 PM, Vitaly Kuznetsov <vk

RE: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-30 Thread Jork Loeser
Hemminger ; > Thomas Gleixner ; Ingo Molnar ; H. > Peter Anvin ; Steven Rostedt ; Jork > Loeser ; Simon Xiao ; > Andy Lutomirski > Subject: Re: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush > > On Tue, May 30, 2017 at 2:34 PM, Vitaly Kuznetsov >

Re: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-30 Thread Andy Shevchenko
On Tue, May 30, 2017 at 2:34 PM, Vitaly Kuznetsov wrote: > Hyper-V host can suggest us to use hypercall for doing remote TLB flush, > this is supposed to work faster than IPIs. > > Implementation details: to do HvFlushVirtualAddress{Space,List} hypercalls > we need to put the

Re: [PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-30 Thread Andy Shevchenko
On Tue, May 30, 2017 at 2:34 PM, Vitaly Kuznetsov wrote: > Hyper-V host can suggest us to use hypercall for doing remote TLB flush, > this is supposed to work faster than IPIs. > > Implementation details: to do HvFlushVirtualAddress{Space,List} hypercalls > we need to put the input somewhere in

[PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-30 Thread Vitaly Kuznetsov
Hyper-V host can suggest us to use hypercall for doing remote TLB flush, this is supposed to work faster than IPIs. Implementation details: to do HvFlushVirtualAddress{Space,List} hypercalls we need to put the input somewhere in memory and we don't really want to have memory allocation on each

[PATCH v5 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-05-30 Thread Vitaly Kuznetsov
Hyper-V host can suggest us to use hypercall for doing remote TLB flush, this is supposed to work faster than IPIs. Implementation details: to do HvFlushVirtualAddress{Space,List} hypercalls we need to put the input somewhere in memory and we don't really want to have memory allocation on each