Re: [PATCH v2 2/4] KVM: use simple waitqueue for vcpu->wq

2015-10-14 Thread Daniel Wagner
On 10/14/2015 09:43 AM, Daniel Wagner wrote: > arch/arm/kvm/arm.c | 4 ++-- > arch/arm/kvm/psci.c | 4 ++-- > arch/powerpc/include/asm/kvm_host.h | 4 ++-- > arch/powerpc/kvm/book3s_hv.c| 23 +++ > arch/s390/include/asm/kvm_host.h

[PATCH v2 2/4] KVM: use simple waitqueue for vcpu->wq

2015-10-14 Thread Daniel Wagner
From: Marcelo Tosatti The problem: On -rt, an emulated LAPIC timer instances has the following path: 1) hard interrupt 2) ksoftirqd is scheduled 3) ksoftirqd wakes up vcpu thread 4) vcpu thread is scheduled This extra context switch introduces unnecessary latency in the LAPIC path for a KVM gu