>
> Right. Which is what I've found too. Which led me to wondering: Jeff:
> how do you plan to do this UP/SMP kernel efficiently? The kernel
> implements spin_lock as a macro that gets compiled out when building for
> UP:

I've heard chat on lkml about using alternatives (the kernel ones) to do
this.. basically at build time you construct a table of every spinlock
call and patch them all up at CPU hotplug or kernel boot time...

Sounds like magic to me...

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to