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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ryan Harper
Date: Monday, August 2, 2010 - 7:42 am

* Avi Kivity <avi@redhat.com> [2010-08-02 03:33]:

It's been quite some time, but played with directed yielding for Xen[1]
and we were looking to model the POWER directed yield (H_CONFER) where
the lock holding vcpu was indiciated in the spinlock.  When acquiring
the lock, record the vcpu id.  When another vcpu attempts to acquire the
lock if it can't it can yield its time to the lock holder.

1.  http://lists.xensource.com/archives/html/xen-devel/2005-05/msg00776.html

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
ryanh@us.ibm.com
--
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, Ryan Harper, (Mon Aug 2, 7:42 am)
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)