diff options
author | jeff <jeff@FreeBSD.org> | 2009-03-14 11:41:36 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2009-03-14 11:41:36 +0000 |
commit | 96eaa9ff52409f0ad3651fdcae4178f5e236ffe9 (patch) | |
tree | 2ab6df5a89d03d43c82b280916aab4f65194db58 /sys/kern/kern_lock.c | |
parent | 69680f169ccd4273c491e709b2406f6aec2ad77e (diff) | |
download | FreeBSD-src-96eaa9ff52409f0ad3651fdcae4178f5e236ffe9.zip FreeBSD-src-96eaa9ff52409f0ad3651fdcae4178f5e236ffe9.tar.gz |
- Fix an error that occurs when mp_ncpu is an odd number. steal_thresh
is calculated as 0 which causes errors elsewhere.
Submitted by: KOIE Hidetaka <koie@suri.co.jp>
- When sched_affinity() is called with a thread that is not curthread we
need to handle the ON_RUNQ() case by adding the thread to the correct
run queue.
Submitted by: Justin Teller <justin.teller@gmail.com>
MFC after: 1 Week
Diffstat (limited to 'sys/kern/kern_lock.c')
0 files changed, 0 insertions, 0 deletions