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-11-04 17:12:53 +00:00
2018-11-13 23:45:38 +00:00
2018-11-29 21:00:56 +00:00
2018-11-23 23:33:55 +00:00
2018-11-29 21:00:56 +00:00
2018-12-05 19:18:16 +00:00
2018-12-07 15:19:00 +00:00
2018-11-29 03:44:02 +00:00
2018-09-06 02:10:59 +00:00
2018-10-20 19:42:38 +00:00
2018-10-20 18:31:36 +00:00
2018-11-26 20:56:05 +00:00
2018-07-19 11:28:14 +00:00
2018-10-30 18:26:34 +00:00
2018-12-07 16:51:38 +00:00
2018-11-13 04:34:30 +00:00
2018-12-08 06:34:12 +00:00
2018-11-29 21:00:56 +00:00
2018-12-08 06:31:43 +00:00
2018-12-08 10:22:12 +00:00
2018-08-26 12:51:46 +00:00
2018-12-07 16:11:45 +00:00
2018-11-16 17:07:54 +00:00
2018-10-20 18:08:43 +00:00
2018-12-07 12:06:03 +00:00
2018-12-07 16:11:45 +00:00
2018-10-30 18:26:34 +00:00
2018-11-12 05:24:20 +00:00
2018-11-13 21:29:56 +00:00
2018-11-20 20:32:10 +00:00
2018-10-30 18:26:34 +00:00
2018-11-27 17:51:50 +00:00
2018-12-07 12:22:32 +00:00
2018-11-27 17:51:50 +00:00
2018-12-07 16:47:34 +00:00
2018-12-07 16:11:45 +00:00
2018-11-13 20:48:05 +00:00
2018-11-13 21:29:56 +00:00
2018-10-16 15:57:16 +00:00
2018-11-01 21:34:17 +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-08-02 09:41:55 +00:00
2018-11-19 09:36:09 +00:00
2018-07-30 15:46:40 +00:00
2018-11-23 23:07:57 +00:00
2018-07-30 15:46:40 +00:00
2018-11-06 17:32:07 +00:00
2018-11-09 00:46:10 +00:00
2018-12-04 16:48:47 +00:00
2018-10-30 21:35:56 +00:00
2018-10-30 20:51:03 +00:00
2018-10-22 02:35:12 +00:00
2018-11-14 00:46:02 +00:00
2018-07-29 00:30:06 +00:00
2018-12-05 18:26:40 +00:00
2018-07-13 16:43:05 +00:00
2018-11-19 18:29:03 +00:00
2018-10-30 18:26:34 +00:00
2018-10-20 21:49:44 +00:00
2018-07-19 21:58:06 +00:00
2018-08-23 01:42:45 +00:00
2018-10-12 00:32:45 +00:00
2018-11-14 00:12:04 +00:00
2018-10-29 14:36:03 +00:00
2018-08-18 19:45:56 +00:00
2018-07-13 17:41:28 +00:00
2018-10-30 14:54:15 +00:00
2018-07-19 20:00:28 +00:00
2018-08-09 17:42:27 +00:00
2018-07-30 14:25:17 +00:00
2018-10-20 18:31:36 +00:00
2018-09-02 20:17:51 +00:00
2018-10-20 18:08:43 +00:00
2018-11-29 04:48:22 +00:00
2018-11-21 17:18:27 +00:00
2018-11-29 05:08:46 +00:00
2018-11-20 14:58:41 +00:00
2018-10-25 15:40:59 +00:00
2018-12-06 17:29:37 +00:00
2018-11-01 23:46:23 +00:00
2018-11-20 14:59:27 +00:00
2018-11-16 17:07:54 +00:00
2018-12-03 21:07:10 +00:00
2018-12-07 15:19:00 +00:00
2018-12-07 15:17:29 +00:00
2018-12-07 15:19:00 +00:00
2018-11-11 00:21:28 +00:00
2018-11-06 23:41:44 +00:00
2018-10-26 17:59:25 +00:00
2018-10-20 18:31:36 +00:00
2018-11-06 23:41:44 +00:00
2018-11-23 22:24:59 +00:00
2018-07-30 15:46:40 +00:00
2018-11-21 22:01:06 +00:00
2018-11-19 00:54:31 +00:00
2018-11-22 20:49:41 +00:00
2018-12-04 16:48:47 +00:00
2018-11-22 20:49:41 +00:00
2018-11-26 18:31:00 +00:00
2018-12-02 12:53:39 +00:00
2018-11-29 09:32:59 +00:00
2018-10-23 21:43:41 +00:00
2018-11-23 22:24:59 +00:00
2018-10-23 21:43:41 +00:00
2018-11-29 19:13:10 +00:00
2018-10-25 15:43:21 +00:00
2018-10-25 22:16:34 +00:00
2018-08-17 16:07:06 +00:00
2018-12-07 23:07:51 +00:00
2018-10-25 22:16:34 +00:00
2018-11-02 14:42:36 +00:00