Mateusz Guzik eab2132ad9 Fix a corner case in ID bitmap management.
If all IDs from trypid to pid_max were used as pids, the code would enter
a loop which would be infinite if none of the IDs could become free (e.g.
they all belong to processes which did not transitioned to zombie).

Fixes:	r341684 ("Manage process-related IDs with bitmaps")

Sponsored by:	The FreeBSD Foundation
2018-12-08 10:22:12 +00:00
..
2018-12-07 15:19:00 +00:00
2018-11-29 03:44:02 +00:00
2018-12-07 16:51:38 +00:00
2018-11-27 19:50:58 +00:00
2018-12-05 16:43:03 +00:00
2018-12-08 06:30:41 +00:00
2018-10-30 21:35:56 +00:00
2018-10-22 02:35:12 +00:00
2018-10-12 00:32:45 +00:00
2018-08-18 19:45:56 +00:00
2018-11-20 14:58:41 +00:00
2018-10-25 15:40:59 +00:00
2018-11-20 14:59:27 +00:00
2018-12-07 15:19:00 +00:00
2018-12-07 15:19:00 +00:00
2018-11-11 00:21:28 +00:00
2018-11-19 00:54:31 +00:00
2018-10-23 21:43:41 +00:00
2018-08-17 16:07:06 +00:00
2018-12-07 23:07:51 +00:00