Re: [PATCH] Fix a race in pid generation that causes pids to be reused immediately.
On Mon, Jun 14, 2010 at 06:55:56PM -0700, Andrew Morton wrote: > > I think you're probably right, as long as one sticks with 4-byte > scalars. The cmpxchg-is-now-generic change snuck in under the radar > (mine, at least).
Hmmm, what about unsigned longs? (Which might be 8 bytes on some architectures....)