cvs commit: src/sys/kern kern_mutex.c
Attilio Rao
attilio at freebsd.org
Tue Jun 5 17:37:42 UTC 2007
2007/6/5, John Baldwin <jhb at freebsd.org>:
> In the PREEMPTION case, the act of making the threads runnable will trigger a
> preemption (or set td_owepreempt). The !PREEMPTION stuff is to make
> mtx_unlock() preempt when PREEMPTION isn't enabled in the kernel.
Yes, I just thought it wasn't due for the !PREEMPTION case.
Attilio
--
Peace can only be achieved by understanding - A. Einstein
More information about the cvs-all
mailing list