Matthew Dillon
3db161e079
It is possible for an active aio to prevent shared memory from being
...
dereferenced when a process exits due to the vmspace ref-count being
bumped. Change shmexit() and shmexit_myhook() to take a vmspace instead
of a process and call it in vmspace_dofree(). This way if it is missed
in exit1()'s early-resource-free it will still be caught when the zombie is
reaped.
Also fix a potential race in shmexit_myhook() by NULLing out
vmspace->vm_shm prior to calling shm_delete_mapping() and free().
MFC after: 7 days
2003-01-13 23:04:32 +00:00
..
2002-10-07 05:06:38 +00:00
2002-09-21 22:07:17 +00:00
2003-01-04 22:07:48 +00:00
2003-01-04 22:07:48 +00:00
2003-01-05 03:48:14 +00:00
2003-01-01 18:49:04 +00:00
2003-01-01 18:49:04 +00:00
2003-01-04 22:07:48 +00:00
2003-01-08 04:57:53 +00:00
2002-12-14 08:18:06 +00:00
2003-01-13 00:33:17 +00:00
2002-09-26 07:38:56 +00:00
2002-11-18 01:59:31 +00:00
2002-12-28 01:23:07 +00:00
2002-12-28 21:47:43 +00:00
2002-11-16 06:35:53 +00:00
2003-01-13 00:33:17 +00:00
2002-12-14 02:07:32 +00:00
2003-01-13 00:33:17 +00:00
2003-01-13 23:04:32 +00:00
2003-01-13 23:04:32 +00:00
2003-01-01 01:19:31 +00:00
2002-10-12 05:32:24 +00:00
2002-12-28 23:22:22 +00:00
2002-12-20 14:32:20 +00:00
2003-01-07 05:56:38 +00:00
2002-10-02 07:44:29 +00:00
2002-09-26 07:38:56 +00:00
2002-10-02 07:44:29 +00:00
2002-12-14 08:18:06 +00:00
2002-11-30 19:00:51 +00:00
2002-11-07 21:56:05 +00:00
2003-01-13 00:33:17 +00:00
2002-11-01 18:58:12 +00:00
2003-01-05 03:48:14 +00:00
2003-01-07 22:24:13 +00:00
2002-10-25 08:40:20 +00:00
2003-01-06 01:01:08 +00:00
2003-01-03 05:57:35 +00:00
2002-08-18 07:05:00 +00:00
2003-01-04 11:45:50 +00:00
2002-10-12 05:32:24 +00:00
2003-01-04 20:54:58 +00:00
2003-01-07 06:04:33 +00:00
2002-12-29 07:17:06 +00:00
2002-12-28 01:23:07 +00:00
2002-12-28 01:23:07 +00:00
2003-01-11 12:39:45 +00:00
2003-01-06 01:01:08 +00:00
2003-01-07 05:56:38 +00:00
2002-12-31 18:22:12 +00:00
2002-09-05 11:42:03 +00:00
2002-12-22 05:35:03 +00:00
2002-11-15 22:55:06 +00:00
2002-11-19 22:12:42 +00:00
2002-11-19 22:12:42 +00:00
2002-10-29 15:47:06 +00:00
2002-10-20 22:33:42 +00:00
2003-01-07 20:10:04 +00:00
2002-11-17 04:15:34 +00:00
2003-01-13 03:42:41 +00:00
2003-01-13 00:33:17 +00:00
2003-01-11 01:09:51 +00:00
2003-01-10 09:54:51 +00:00
2003-01-01 18:49:04 +00:00
2002-10-17 20:03:38 +00:00
2002-10-22 00:59:49 +00:00
2003-01-03 05:57:35 +00:00
2003-01-03 05:57:35 +00:00
2002-12-17 19:31:26 +00:00
2002-11-14 16:11:12 +00:00
2003-01-02 21:16:50 +00:00
2002-12-16 16:20:06 +00:00
2002-08-30 04:04:37 +00:00
2003-01-07 18:17:18 +00:00
2003-01-07 19:09:10 +00:00
2002-11-27 03:55:22 +00:00
2002-10-04 09:58:17 +00:00
2002-10-02 09:09:25 +00:00
2002-12-28 23:21:13 +00:00
2002-12-28 01:23:07 +00:00
2002-10-25 08:40:20 +00:00
2003-01-09 15:45:28 +00:00
2002-12-14 01:56:26 +00:00
2003-01-13 00:33:17 +00:00
2002-10-16 16:28:33 +00:00
2003-01-13 00:33:17 +00:00
2003-01-08 04:57:53 +00:00
2003-01-04 11:41:12 +00:00
2003-01-13 23:04:32 +00:00
2002-12-15 09:41:46 +00:00
2002-10-19 02:07:35 +00:00
2003-01-13 23:04:32 +00:00
2002-12-17 19:30:50 +00:00
2002-12-28 21:39:46 +00:00
2003-01-01 18:49:04 +00:00
2002-08-19 19:04:53 +00:00
2002-10-03 02:13:00 +00:00
2002-10-11 14:58:34 +00:00
2002-12-30 20:22:40 +00:00
2002-12-30 20:22:40 +00:00
2003-01-10 23:13:16 +00:00
2003-01-11 07:51:52 +00:00
2003-01-11 07:51:52 +00:00
2003-01-13 00:33:17 +00:00
2003-01-13 00:33:17 +00:00
2003-01-13 00:33:17 +00:00
2003-01-13 00:33:17 +00:00
2003-01-13 15:06:05 +00:00
2003-01-12 06:30:15 +00:00
2002-09-02 22:40:30 +00:00
2002-11-07 22:41:08 +00:00
2003-01-04 22:10:36 +00:00
2002-12-24 03:03:39 +00:00
2003-01-13 00:33:17 +00:00
2002-10-19 21:25:51 +00:00
2003-01-01 01:56:19 +00:00
2002-12-29 18:30:49 +00:00
2003-01-13 00:33:17 +00:00
2003-01-13 00:33:17 +00:00
2003-01-04 22:10:36 +00:00