kthread_create and rel_mplock
Matthew Dillon
dillon at apollo.backplane.com
Sun May 18 20:34:59 PDT 2008
:Threads start with mplock held currently, but if your thread does want
:mplock, it will be wise to hold it explicitly.
:
:Best Regards,
:sephe
Yah. For kernel threads you can start a thread without the MP lock
by creating it with TDF_MPSAFE set in the passed flags. Otherwise
the thread will start with the lock.
-Matt
Matthew Dillon
<dillon at backplane.com>
More information about the Kernel
mailing list