DragonFly BSD
DragonFly commits List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Jeroen Ruigrok/asmodai <asmodai@xxxxxx>
Date: Sun, 11 Jan 2004 21:56:08 +0100

-On [20040111 19:02], David Rhodus (drhodus@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...



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]