CVSROOT:        /cvs
Module name:    src
Changes by:     dera...@cvs.openbsd.org 2009/10/05 11:43:08

Modified files:
        sys/kern       : kern_exit.c kern_sched.c 

Log message:
Don't drop the big lock at the end of exit1(), but move it into the middle of
sched_exit().  This means that cpu_exit() and whatever it does (for instance
calling free(), as well as the deadproc p_hash handling are now locked as well.
This may have been one of the causes of the reaper panics, especially with
rthread patches... which were terminating a lot of threads very quickly onto
the deadproc p_hash list.
ok kurt kettenis miod

Reply via email to