Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 4 Mar 2002 15:10:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 4 Mar 2002 15:10:44 -0500 Received: from x35.xmailserver.org ([208.129.208.51]:32007 "EHLO x35.xmailserver.org") by vger.kernel.org with ESMTP id ; Mon, 4 Mar 2002 15:10:31 -0500 X-AuthUser: davidel@xmailserver.org Date: Mon, 4 Mar 2002 12:13:50 -0800 (PST) From: Davide Libenzi X-X-Sender: davide@blue1.dev.mcafeelabs.com To: Robert Love cc: Rusty Russell , Linus Torvalds , , Benjamin LaHaise , , , Linux Kernel Mailing List , Hubertus Franke Subject: Re: [PATCH] Fast Userspace Mutexes III. In-Reply-To: <1015271393.15277.112.camel@phantasy> 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 4 Mar 2002, Robert Love wrote: > On Sun, 2002-03-03 at 22:55, Rusty Russell wrote: > > 1) Use mmap/mprotect bits, not new syscall (thanks RTH, Erik Biederman) > > 2) Fix wakeup race in kernel (thanks Martin Wirth, Paul Mackerras) > > 3) Simplify locking to a single atomic (no more arch specifics!) > > 4) Use wake-one by handcoding queues. > > 5) Comments added. > > > > Thanks to all for feedback and review: I'd appreciate a comment from > > those arch's which need to do something with the PROT_SEM bit. > > > > Once again, tested on 2.4.18 UP PPC, compiles on 2.5.6-pre1. > > > > Bad news is that we're up to 206 lines again. > > Rusty. > > Good work. I likee. Ok, i reply to this because my 'd' Pine's key is heavily used in these days :-) I took a look at the code yesterday night and i've a stupid question Rusty. I do not know what is the code used in the upper part of the iceberg ( userspace ) but are you doing a dec_and_test() on userspace before entering the kernel ? Or, is the kernel code the slow path or you enter it by default ? - Davide - 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/