Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 25 Feb 2002 14:33:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 25 Feb 2002 14:33:20 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:13060 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Mon, 25 Feb 2002 14:33:07 -0500 Date: Mon, 25 Feb 2002 11:31:57 -0800 (PST) From: Linus Torvalds To: Alan Cox cc: Rusty Russell , , Matthew Kirkwood , Benjamin LaHaise , David Axmark , William Lee Irwin III , Subject: Re: [PATCH] Lightweight userspace semaphores... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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/