Re: Why Semaphore Hardware-Dependent?

Benjamin LaHaise
2006-08-29T19:10:29Z

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@kvack.org>.