On 04-Jul-2002 David Xu wrote:
> while we are getting rid of Giant, current race condition between softclock()
> and callout_stop() is unacceptable. the race causes two many places in source
> code would be modified to fit this new behaviour, besides this, everywhere
> callout_stop() is used need to hold sched_lock and do a mi_switch() and
> modify td_flags is also unacceptable, this SMP race should be resolved in
How would you resolve it while still preserving the existing semantics?
Saying "this race should be resolved" doesn't explain how you would go about
resolving it. It's a lot harder than it looks.
John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message