[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Ticket spinlocks and MP guests

On 15/2/08 08:27, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:

>> Side effect of ticket-based locks, or pv'ed sleeping locks?
>> -- Keir
> Side effect about pv'ed sleeping locks, since originally maybe
> dozens of cycles are used to spin lock while pv'ed locks force
> hypercall to Xen and may even require owner with another
> unlock hypercall to notify back?

You would of course spin for a while and only then sleep. That's a standard
mutex implementation trick.

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.