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

From: tytso
Date: Wed Jun 09 2010 - 13:48:02 EST

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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at