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

2017-07-14 Thread Andy Shevchenko
On Fri, Jul 14, 2017 at 3:44 PM, Vitaly Kuznetsov wrote: Couple of nits in case you are going send new version (I'm fine with this as well). > +static inline int fill_gva_list(u64 gva_list[], int offset, > + unsigned long start, unsigned long end) > +{ > +} + empt

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

2017-07-14 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 cal