Re: [PATCH 00/20] x86: ticket lock rewrite and paravirtualization

From: H. Peter Anvin
Date: Mon Nov 15 2010 - 15:05:34 EST


On 11/15/2010 12:00 PM, Jeremy Fitzhardinge wrote:
>
> Another approach I discussed with PeterZ and Mathieu is to steal the LSB
> of the ticket counters (halving the max CPU count) to use as a "there is
> someone in slowpath waiting on this lock". But I haven't spent the time
> to work out an algorithm to maintain that flag (or flags, since there
> are bits available) in a correct and efficient way.
>

Definitely worth pondering.

-hpa

--
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/