From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: David Howells In-Reply-To: References: To: Jon Loeliger Date: Fri, 23 Sep 2005 08:32:20 +0100 Message-ID: <606.1127460740@warthog.cambridge.redhat.com> Sender: dhowells@redhat.com Cc: linuxppc-dev@ozlabs.org, linuxppc64-dev@ozlabs.org Subject: Re: PATCH powerpc Merge asm-ppc*/rwsem.h List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Jon Loeliger wrote: > Merge asm-ppc*/rwsem.h into include/asm-powerpc. > Removed smp_*mb() memory barriers from the ppc32 code > as they are now burried in the atomic_*() functions as > suggested by Paul, implemented by Arnd, and pushed out > by Becky. I am not the droid you are looking for. rwsems on ppc64 should really be using a 64-bit counter, not a 32-bit counter, otherwise you limit the maximum number of processes to 32K-ish. The counter should be "signed long" really. David