cvs commit: src/sys/kern kern_mutex.c

Attilio Rao attilio at
Tue Jun 5 17:37:42 UTC 2007

2007/6/5, John Baldwin <jhb at>:

> 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.


Peace can only be achieved by understanding - A. Einstein

More information about the cvs-all mailing list