Subject: Re: PATCH powerpc Merge asm-ppc*/rwsem.h

From: David Howells <[email-masked]>
Date: Fri, 23 Sep 2005 08:32:20 +0100

Jon Loeliger <[email-masked]> 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