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

From: Peter Zijlstra
Date: Mon Nov 15 2010 - 16:08:44 EST


On Mon, 2010-11-15 at 13:02 -0800, Jeremy Fitzhardinge wrote:
>
> As a heuristic, it shouldn't be too bad performancewise, since
> (handwaving) if ticketholder N has entered the slowpath, then its likely
> that N+1 will as well.

Yes, esp. if the whole slow unlock path takes more cycles than you spin
for to begin with.

I think this approach is definitely worth trying.
--
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/