I am new to SMP subject and have some questions to ask:
Is the simplelock() really needed since FreeBSD is using the big giant
lock and the kernel is non preemptive? Or has FreeBSD changed the big
giant lock and made kernel thread preemptive? Uresha Vahalia talks about
Lost Wakeup Problem (page 196), the test of the resource and sleep() has
to be done atomically. Which correct mechanism should I use on FreeBSD to
achieve this (avoid the lost-wakeup problem)?
Any help is appreciated.
-Zhihui
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message