NetBSD/sys/miscfs
thorpej 2715b812d1 Rework the process exit path, in preparation for making process exit
and PID allocation MP-safe.  A new process state is added: SDEAD.  This
state indicates that a process is dead, but not yet a zombie (has not
yet been processed by the process reaper).

SDEAD processes exist on both the zombproc list (via p_list) and deadproc
(via p_hash; the proc has been removed from the pidhash earlier in the exit
path).  When the reaper deals with a process, it changes the state to
SZOMB, so that wait4 can process it.

Add a P_ZOMBIE() macro, which treats a proc in SZOMB or SDEAD as a zombie,
and update various parts of the kernel to reflect the new state.
1999-07-22 18:13:36 +00:00
..
deadfs Since the interlock has been unlocked, also clear LK_INTERLOCK from 1998-05-18 16:47:37 +00:00
fdesc From Bill Studenmund: unlock the fdescfs "/dev/tty" vnode before calling 1999-07-19 23:00:47 +00:00
fifofs Use the so_send and so_receive funcptrs in the socket instead of calling 1998-10-31 01:18:41 +00:00
genfs Define VLAYER and make layered fs's set this flag when creating their vnodes. 1999-07-15 21:30:31 +00:00
kernfs Bump osrelease to 1.4E. Add layerfs files, remove null_subr.c. 1999-07-08 01:26:21 +00:00
nullfs Introduce layer library in genfs. This set of files abstracts most of 1999-07-08 01:18:59 +00:00
portal Bump osrelease to 1.4E. Add layerfs files, remove null_subr.c. 1999-07-08 01:26:21 +00:00
procfs Rework the process exit path, in preparation for making process exit 1999-07-22 18:13:36 +00:00
specfs Make spec_write() process errors and return them, otherwise we don't even 1998-10-02 00:21:39 +00:00
umapfs Introduce layer library in genfs. This set of files abstracts most of 1999-07-08 01:18:59 +00:00
union Define VLAYER and make layered fs's set this flag when creating their vnodes. 1999-07-15 21:30:31 +00:00
Makefile Rework the way kernel include files are installed. In the new method, 1998-06-12 23:22:30 +00:00