Re: [PATCH] Fix a race in pid generation that causes pids to be reused immediately.

tytso
2010-06-15T12:56:54Z

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....)

- Ted