diff options
author | jeff <jeff@FreeBSD.org> | 2007-10-08 23:50:39 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2007-10-08 23:50:39 +0000 |
commit | 2bbd1c2e708382ee1b19c674a8652704a90aa976 (patch) | |
tree | 437f98987c1080f4f0762b3cbbdae5ae828de9c0 /lib/libpthread/thread/thr_raise.c | |
parent | 57102cf5add6c7f7ca4dea8071ccd6e46560954e (diff) | |
download | FreeBSD-src-2bbd1c2e708382ee1b19c674a8652704a90aa976.zip FreeBSD-src-2bbd1c2e708382ee1b19c674a8652704a90aa976.tar.gz |
- Bail out of tdq_idled if !smp_started or idle stealing is disabled. This
fixes a bug on UP machines with SMP kernels where the idle thread
constantly switches after trying to steal work from the local cpu.
- Make the idle stealing code more robust against self selection.
- Prefer to steal from the cpu with the highest load that has at least one
transferable thread. Before we selected the cpu with the highest
transferable count which excludes bound threads.
Collaborated with: csjp
Approved by: re
Diffstat (limited to 'lib/libpthread/thread/thr_raise.c')
0 files changed, 0 insertions, 0 deletions