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

tytso
2010-06-09T17:47:58Z

On Wed, Jun 09, 2010 at 10:43:33AM -0700, Linus Torvalds wrote:
>
> We need that bitmap to handle the overflow max_pid case. We are _not_
> returning just increasing pid numbers.

Doh! I knew I was forgetting something obvious. I was hoping we
could get rid of the bitmap entirely, but I guess not....

(Unless users would stand for 64-bit pid numbers... no? Dang. :-)

- Ted