Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_exit.c
Show First 20 Lines • Show All 222 Lines • ▼ Show 20 Lines | |||||
{ | { | ||||
struct proc *p, *nq, *q, *t; | struct proc *p, *nq, *q, *t; | ||||
struct thread *tdt; | struct thread *tdt; | ||||
ksiginfo_t *ksi, *ksi1; | ksiginfo_t *ksi, *ksi1; | ||||
int signal_parent; | int signal_parent; | ||||
mtx_assert(&Giant, MA_NOTOWNED); | mtx_assert(&Giant, MA_NOTOWNED); | ||||
KASSERT(rval == 0 || signo == 0, ("exit1 rv %d sig %d", rval, signo)); | KASSERT(rval == 0 || signo == 0, ("exit1 rv %d sig %d", rval, signo)); | ||||
TSPROCEXIT(td->td_proc->p_pid); | |||||
p = td->td_proc; | p = td->td_proc; | ||||
/* | /* | ||||
* XXX in case we're rebooting we just let init die in order to | * XXX in case we're rebooting we just let init die in order to | ||||
* work around an unsolved stack overflow seen very late during | * work around an unsolved stack overflow seen very late during | ||||
* shutdown on sparc64 when the gmirror worker process exists. | * shutdown on sparc64 when the gmirror worker process exists. | ||||
* XXX what to do now that sparc64 is gone... remove if? | * XXX what to do now that sparc64 is gone... remove if? | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 1,192 Lines • Show Last 20 Lines |