Re: [PATCH v5 0/2] x86/kvm: Reduce vcpu_is_preempted() overhead

Peter Zijlstra
2017-02-20T19:56:45Z

On Mon, Feb 20, 2017 at 01:36:02PM -0500, Waiman Long wrote:
> Waiman Long (2):
> x86/paravirt: Change vcp_is_preempted() arg type to long
> x86/kvm: Provide optimized version of vcpu_is_preempted() for x86-64
>
> arch/x86/include/asm/paravirt.h | 2 +-
> arch/x86/include/asm/qspinlock.h | 2 +-
> arch/x86/kernel/asm-offsets_64.c | 9 +++++++++
> arch/x86/kernel/kvm.c | 26 +++++++++++++++++++++++++-
> arch/x86/kernel/paravirt-spinlocks.c | 2 +-
> 5 files changed, 37 insertions(+), 4 deletions(-)

I'm assuming this will go through the KVM tree, if people want me to
take it through the tip tree, please let me know.

Acked-by: Peter Zijlstra (Intel) <peterz@infraded.org>