CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2019/07/15 14:44:48

Modified files:
        sys/kern       : kern_resource.c sched_bsd.c 
        sys/sys        : sched.h 

Log message:
Stop calling resched_proc() after changing the nice(3) value of a process.

Changing the scheduling priority of a process happens rarely, so it isn't
strictly necessary to update the current priority of every threads
instantly.

Moreover resched_proc() isn't well suited to perform this action: it doesn't
consider the state of each thread nor move them to another runqueue.

ok visa@

Reply via email to