PATCH powerpc Merge asm-ppc*/rwsem.h

David Howells dhowells at redhat.com
Fri Sep 23 17:32:20 EST 2005


Jon Loeliger <jdl at freescale.com> 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



More information about the Linuxppc64-dev mailing list