Re: [PATCH RFC V9 0/19] Paravirtualized ticket spinlocks

From: Jeremy Fitzhardinge
Date: Sat Jun 01 2013 - 16:37:46 EST

On 06/01/2013 01:14 PM, Andi Kleen wrote:
> FWIW I use the paravirt spinlock ops for adding lock elision
> to the spinlocks.

Does lock elision still use the ticketlock algorithm/structure, or are
they different? If they're still basically ticketlocks, then it seems
to me that they're complimentary - hle handles the fastpath, and pv the

> This needs to be done at the top level (so the level you're removing)
> However I don't like the pv mechanism very much and would
> be fine with using an static key hook in the main path
> like I do for all the other lock types.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at