Re: [PATCH] Lightweight userspace semaphores...

From: Linus Torvalds (torvalds@transmeta.com)
Date: Mon Feb 25 2002 - 14:31:57 EST


On Mon, 25 Feb 2002, Alan Cox wrote:
>
> Ok I see where you are coming from now -- that makes sense for a few cases.

Note that the "few cases" in question imply _all_ of the current broken
library spinlocks, for example.

Don't think "POSIX semaphores", but think "fast locking" in the general
case. I will bet you $1 in small change that most normal locking by far is
for the kind of thread-safe stuff libc does right now.

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 28 2002 - 21:00:17 EST