Stick proc0 in the PID hash table.
This commit is contained in:
parent
5091a293b0
commit
3588cc574a
@ -287,6 +287,7 @@ proc0_init(void *dummy __unused)
|
||||
* Create process 0 (the swapper).
|
||||
*/
|
||||
LIST_INSERT_HEAD(&allproc, p, p_list);
|
||||
LIST_INSERT_HEAD(PIDHASH(0), p, p_hash);
|
||||
p->p_pgrp = &pgrp0;
|
||||
LIST_INSERT_HEAD(PGRPHASH(0), &pgrp0, pg_hash);
|
||||
LIST_INIT(&pgrp0.pg_members);
|
||||
|
Loading…
Reference in New Issue
Block a user