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

From: Ingo Molnar
Date: Mon Jul 16 2007 - 05:26:59 EST



* Nick Piggin <npiggin@xxxxxxx> wrote:

> [...] trylock is more significantly slower, but they are relatively
> rare.

trylock is the main thing that the spinlock debugging code uses, and
SPINLOCK_DEBUG is frequently enabled by distro kernels. OTOH, the cost
looks like to be +5 instructions, right? Still ...

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