Re: [Patch RFC 24/37] xfs: semaphore cleanup

From: Christoph Hellwig
Date: Mon Jul 27 2009 - 11:26:08 EST


On Sun, Jul 26, 2009 at 08:19:03AM -0000, Thomas Gleixner wrote:
> bp->b_sema claims to be a mutex, but it is a semaphore with non
> obvious semantics. Make it a real semaphore.

It is a binary mutex in the classical CS sense, just not unlocked by
the same thread as expected by the Linux mutexes..

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