Re: 64-bit ppc rwsem (was: Re: [GIT] Sparc)

2010-08-17 Thread Benjamin Herrenschmidt
On Wed, 2010-08-18 at 14:38 +1000, Benjamin Herrenschmidt wrote: > > Here's an untested patch for the folks on linuxppc-dev to look at, > I'll > review my own stuff & test tomorrow. Allright, gcc's being a pain, and atomics are a struct so we can't that easily assign. I tried various tricks but

64-bit ppc rwsem (was: Re: [GIT] Sparc)

2010-08-17 Thread Benjamin Herrenschmidt
On Tue, 2010-08-17 at 19:14 -0700, David Miller wrote: > > I merged your pull request, but you've got some fixing up to do, > > methinks. I also really think you need to make your rwsem's use 64-bit > > values on sparc64, because otherwise you can overflow the mmap_sem by > > having more than 6553