Re: Announce: Semaphore-Removal tree

From: Christoph Hellwig
Date: Fri Apr 25 2008 - 17:13:23 EST


On Fri, Apr 25, 2008 at 01:38:37PM -0700, Daniel Walker wrote:
> I was reviewing your patches, and I don't like the semaphore to spinlock
> changes.. There's no reason to start adding spinlocks, unless it's
> really performance sensitive which none of those places are..

Yes, there is. The spinlock is our most efficient locking primitive
for the normal mostly un-contentded case. Please get out of your
realtime-ghetto.

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