Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 10 Apr 2001 03:47:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 10 Apr 2001 03:47:49 -0400 Received: from t2.redhat.com ([199.183.24.243]:22266 "HELO executor.cambridge.redhat.com") by vger.kernel.org with SMTP id ; Tue, 10 Apr 2001 03:47:40 -0400 To: Linus Torvalds Cc: Andrew Morton , Ben LaHaise , David Howells , Alan Cox , Kernel Mailing List Subject: Re: rw_semaphores In-Reply-To: Your message of "Mon, 09 Apr 2001 22:43:53 PDT." Date: Tue, 10 Apr 2001 08:47:34 +0100 Message-ID: <8623.986888854@warthog.cambridge.redhat.com> From: David Howells Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Since you're willing to use CMPXCHG in your suggested implementation, would it make it make life easier if you were willing to use XADD too? Plus, are you really willing to limit the number of readers or writers to be 32767? If so, I think I can suggest a way that limits it to ~65535 apiece instead... David - 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/