CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2019/06/01 08:11:18

Modified files:
        sys/kern       : init_main.c kern_acct.c kern_exec.c kern_exit.c 
                         kern_fork.c kern_resource.c kern_sched.c 
                         kern_sysctl.c kern_time.c sched_bsd.c tty.c 
        sys/sys        : proc.h resourcevar.h sysctl.h 

Log message:
Revert to using the SCHED_LOCK() to protect time accounting.

It currently creates a lock ordering problem because SCHED_LOCK() is taken
by hardclock().  That means the "priorities" of a thread should be moved
out of the SCHED_LOCK() first in order to make progress.

Reported-by: [email protected]
via anton@ as well as by kettenis@

Reply via email to