summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_rwlock.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2019-07-15 20:44:48 +0000
committermpi <mpi@openbsd.org>2019-07-15 20:44:48 +0000
commit764fc8a08437c4c7edc08f1ff70fc52a78b3ac27 (patch)
tree6002134d44be0420a961fbd2843548df88e63d90 /sys/kern/kern_rwlock.c
parentexplain escaping of end-of-sentence characters; (diff)
downloadwireguard-openbsd-764fc8a08437c4c7edc08f1ff70fc52a78b3ac27.tar.xz
wireguard-openbsd-764fc8a08437c4c7edc08f1ff70fc52a78b3ac27.zip
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@
Diffstat (limited to 'sys/kern/kern_rwlock.c')
0 files changed, 0 insertions, 0 deletions