Date: Thu, 10 Jul 2003 11:03:56 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: FreeBSD current users <current@freebsd.org> Subject: small scheduler hack/patch Message-ID: <Pine.BSF.4.21.0307101056420.40558-100000@InterJet.elischer.org>
next in thread | raw e-mail | index | archive | help
I have a small "proof of concept" scheduler hack at: http://www.freebsd.org/~julian/it.diff what it is supposed to do is check if there is an idle CPU at the time that a thread is made runnable (assuming that idle CPUs are halted) and if there is, it selects an idle CPU and gives it an IPI to wake it up. (presumably it will then pick up the work). It's only implemented for SMP/i386 as the code to halt the cpu is only present (from my quick view) in x86 and it doesn't make sense in UP.. any comments and suggestions? (oh, and yes it's only in the 4bsd scheduler.. I think jeff already handles this sort of thing).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0307101056420.40558-100000>