summaryrefslogtreecommitdiff
path: root/usr.sbin/apmd/apmd.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2019-11-01 20:58:02 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2019-11-01 20:58:02 +0000
commit2ec9c2d7f0bb1131c0952ff1f52e06f432cafc35 (patch)
tree3ec85ccbdbca79d4ed3171af6cfeafab13c36f24 /usr.sbin/apmd/apmd.c
parentcef5ebe64baa3f846ee7b4636948f1f8dff0e0ec (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