git: kernel - Rearrange usched_bsd4.c a bit
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Dec 11 00:45:41 PST 2010
commit eb501f47aa2ef0a950fc2d481ce33ddeafb725c2
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat Dec 11 00:42:18 2010 -0800
kernel - Rearrange usched_bsd4.c a bit
* Rearrange the way the scheduler helpers are woken up. This results in
much better coverage on systems with large numbers of cpus.
Tested on the 48-core opteron monster.
* Essentially we no longer do bogus wakeups of scheduler helpers, and the
chaining has been fixed when a scheduler helper is unable to perform
the operation it was scheduled for (it tries to find another idle cpu
to forward to).
Most cpumask operations are now performed while holding the spin lock.
Summary of changes:
sys/kern/usched_bsd4.c | 182 ++++++++++++++++++++++++++++++++----------------
1 files changed, 123 insertions(+), 59 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eb501f47aa2ef0a950fc2d481ce33ddeafb725c2
--
DragonFly BSD source repository
More information about the Commits
mailing list