summaryrefslogtreecommitdiffstats
path: root/sys/dev/mxge/ethp_z8e.h
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2008-01-15 09:03:09 +0000
committerjeff <jeff@FreeBSD.org>2008-01-15 09:03:09 +0000
commit7a1cea460a6aa1f4af7bc991df6ecc77da860387 (patch)
tree0cada86322bda662ed9c0289f917629488de92c1 /sys/dev/mxge/ethp_z8e.h
parent90f3f8edb2bda24c666a8a36141ac4c371a0f58a (diff)
downloadFreeBSD-src-7a1cea460a6aa1f4af7bc991df6ecc77da860387.zip
FreeBSD-src-7a1cea460a6aa1f4af7bc991df6ecc77da860387.tar.gz
- When executing the 'tryself' branch in sched_pickcpu() look at the
lowest priority on the queue for the current cpu vs curthread's priority. In the case that curthread is waking up many threads of a lower priority as would happen with a turnstile_broadcast() or wakeup() of many threads this prevents them from all ending up on the current cpu. - In sched_add() make the relationship between a scheduled ithread and the current cpu advisory rather than strict. Only give the ithread affinity for the current cpu if it's actually being scheduled from a hardware interrupt. This prevents it from migrating when it simply blocks on a lock. Sponsored by: Nokia
Diffstat (limited to 'sys/dev/mxge/ethp_z8e.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud