Re: [PATCH RFC V2 3/5] kvm hypervisor : Add two hypercalls to supportpv-ticketlock

From: Raghavendra K T
Date: Tue Oct 25 2011 - 14:24:42 EST


On 10/24/2011 07:20 PM, Srivatsa Vaddagiri wrote:
* Avi Kivity<avi@xxxxxxxxxx> [2011-10-24 15:09:25]:

I guess with that change, we can also dropthe need for other hypercall
introduced in this patch (kvm_pv_kick_cpu_op()). Essentially a vcpu sleeping
because of HLT instruction can be woken up by a IPI issued by vcpu releasing a
lock.

Not if interrupts are disabled.

Hmm yes ..so we need a kick hypercall then.


So then do also you foresee the need for directed yield at some point, to address LHP? provided we have good improvements to prove.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/