cvs commit: src/sys/conf options.i386 options.pc98 src/sys/i386/conf GENERIC src/sys/i386/i386 machdep.c mp_machdep.c

Jeroen Ruigrok/asmodai asmodai at wxs.nl
Sun Jan 11 12:57:13 PST 2004


-On [20040111 19:02], David Rhodus (drhodus at xxxxxxxxxxx) wrote:
>This has been taken care of already in DragonFly, and a lot easier
>because of LWKT already having the per-cpu scheduling we use an IPI
>message. Just take a look at the at cpu_idle function inside machdep.c

[snip code]

>With this we when are able to have the scheduler wakeup a target cpu.
>So then if a thread wants to run on a particular cpu we just IPI that 
>cpu.
>This is why the idle loop changes don't apply here anymore, because
>we actually have fixed the performance issue with HLT'ing.

Ah way cool. :)

Nice to see us doing things pretty cleanly.  Good work!

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
PGP fingerprint: 2D92 980E 45FE 2C28 9DB7  9D88 97E6 839B 2EAC 625B
http://www.tendra.org/   | http://diary.in-nomine.org/
Fame is the perfume of heroic deeds...





More information about the Commits mailing list