Re: [PATCH RFC 2/4] Add yield hypercall for KVM guests

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Srivatsa Vaddagiri
Date: Wednesday, July 28, 2010 - 7:55 am

On Mon, Jul 26, 2010 at 10:19:41AM -0700, Jeremy Fitzhardinge wrote:

We don't have that support yet in Linux scheduler. Also I feel it would be more
useful when the target vcpu and yielding vcpu are on the same physical cpu,
rather than when they are on separate cpus. With latter, yielding (or
donating) timeslice need not ensure that target vcpu runs immediately 
and also I suspect fairness issues needs to be tackled as well (large number of
waiters shouldn't boot a lock-holders time slice too much that it gets a 
larger share).

- vatsa
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH RFC 0/4] Paravirt-spinlock implementation for KVM g ..., Srivatsa Vaddagiri, (Sun Jul 25, 11:11 pm)
[PATCH RFC 1/4] Debugfs support for reading an array of u3 ..., Srivatsa Vaddagiri, (Sun Jul 25, 11:13 pm)
[PATCH RFC 2/4] Add yield hypercall for KVM guests, Srivatsa Vaddagiri, (Sun Jul 25, 11:14 pm)
[PATCH RFC 3/4] Paravirtualized spinlock implementation fo ..., Srivatsa Vaddagiri, (Sun Jul 25, 11:15 pm)
[PATCH RFC 4/4] Add yield hypercall support in Qemu, Srivatsa Vaddagiri, (Sun Jul 25, 11:16 pm)
Re: [PATCH RFC 0/4] Paravirt-spinlock implementation for K ..., Jeremy Fitzhardinge, (Mon Jul 26, 10:18 am)
Re: [PATCH RFC 2/4] Add yield hypercall for KVM guests, Jeremy Fitzhardinge, (Mon Jul 26, 10:19 am)
Re: [PATCH RFC 0/4] Paravirt-spinlock implementation for K ..., Srivatsa Vaddagiri, (Wed Jul 28, 7:47 am)
Re: [PATCH RFC 2/4] Add yield hypercall for KVM guests, Srivatsa Vaddagiri, (Wed Jul 28, 7:55 am)
Re: [PATCH RFC 0/4] Paravirt-spinlock implementation for K ..., Konrad Rzeszutek Wilk, (Wed Jul 28, 3:10 pm)
Re: [PATCH RFC 0/4] Paravirt-spinlock implementation for K ..., Konrad Rzeszutek Wilk, (Wed Jul 28, 3:42 pm)
Re: [PATCH RFC 2/4] Add yield hypercall for KVM guests, Jeremy Fitzhardinge, (Mon Aug 2, 8:08 am)
Re: [PATCH RFC 3/4] Paravirtualized spinlock implementatio ..., Jeremy Fitzhardinge, (Mon Aug 2, 8:20 am)
Re: [PATCH RFC 2/4] Add yield hypercall for KVM guests, Srivatsa Vaddagiri, (Mon Aug 2, 10:16 pm)
Re: [PATCH RFC 2/4] Add yield hypercall for KVM guests, Srivatsa Vaddagiri, (Mon Aug 2, 10:33 pm)
Re: [PATCH RFC 3/4] Paravirtualized spinlock implementatio ..., Jeremy Fitzhardinge, (Tue Aug 3, 10:47 am)