CVSROOT: /cvs Module name: src Changes by: [email protected] 2019/11/01 14:58:01
Modified files:
sys/kern : kern_sched.c sched_bsd.c
Log message:
Kill resched_proc() and instead call need_resched() when a thread is
added to the runqueue of a CPU.
This fix out-of-sync cases when the priority of a thread wasn't reflecting
the runqueue it was sitting in leading to unnecessary context switch.
ok visa@
