RE: [PATCH] x86/hyper-v: implement EOI assist

2019-04-15 Thread Long Li
>>>Subject: Re: [PATCH] x86/hyper-v: implement EOI assist >>> >>>Vitaly Kuznetsov writes: >>> >>>> Hyper-V TLFS suggests an optimization to avoid imminent VMExit on EOI: >>>> "The OS performs an EOI by atomically writing zero to the

Re: [PATCH] x86/hyper-v: implement EOI assist

2019-04-15 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > Hyper-V TLFS suggests an optimization to avoid imminent VMExit on EOI: > "The OS performs an EOI by atomically writing zero to the EOI Assist field > of the virtual VP assist page and checking whether the "No EOI required" > field was previously zero. If it was, the OS