Re: Why Semaphore Hardware-Dependent?

From: Benjamin LaHaise
Date: Tue Aug 29 2006 - 15:07:39 EST


On Tue, Aug 29, 2006 at 12:56:54PM +0200, Andi Kleen wrote:
> We've completely given up these kinds of micro optimization for spinlocks,
> which are 1000x as critical as rwsems. And nobody was able to benchmark
> a difference.

That is false. It shows up on things like netperf on the P4, or the AF_UNIX
component of lmbench.

-ben
--
"Time is of no importance, Mr. President, only life is important."
Don't Email: <dont@xxxxxxxxx>.
-
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/