diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-11-01 20:58:02 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-11-01 20:58:02 +0000 |
commit | 2ec9c2d7f0bb1131c0952ff1f52e06f432cafc35 (patch) | |
tree | 3ec85ccbdbca79d4ed3171af6cfeafab13c36f24 /usr.sbin/apmd/apmd.c | |
parent | cef5ebe64baa3f846ee7b4636948f1f8dff0e0ec (diff) |
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@
Diffstat (limited to 'usr.sbin/apmd/apmd.c')
0 files changed, 0 insertions, 0 deletions