Searched hist:102581 (Results 1 - 1 of 1) sorted by last modified time

/freebsd-11-stable/sys/kern/
H A Dkern_thread.cdiff 102581 Thu Aug 29 17:49:53 MDT 2002 julian Fix crack-smoking code that was panicing on the quad xeon:
- If either of proc or kse are NULL during thread_exit(), then
the kernel is going to fault because parts of the function
assume they aren't NULL. Instead, just assert they aren't NULL
(as well as the kse group) and assume they are in all of the
code. It doesn't make sense for them to be NULL here anyways.
- Move the PROC_UNLOCK(p) up above clearing td_proc, etc. since
otherwise we will panic if the proc's lock is contested.

Submitted by: jhb@freebsd.org

Completed in 125 milliseconds