Re: [rfc][patch 2/2] x86_64: FIFO ticket spinlocks

From: Nick Piggin
Date: Mon Jul 16 2007 - 05:24:45 EST


On Mon, Jul 16, 2007 at 10:16:54AM +0100, Alan Cox wrote:
> > however the difference is quite small on Core2 and Opteron when working out of
> > cache, and becomes almost insignificant even on P4 when the lock misses cache.
> > trylock is more significantly slower, but they are relatively rare.
>
> This has a 255 processor limit (worst case). That should probably be
> clearly documented for the future.

Yeah good point. I added an #error for it.
-
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/