DragonFly kernel List (threaded) for 2004-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
kernel threads and mplock
Hi,
I have a question about kernel threads synchronization on DFB.
A comment in lwkt_thread.c says:
* NOTE! By default new threads are created with the MP lock held. A
* thread which does not require the MP lock should release it by calling
* rel_mplock() at the start of the new thread.
*/
Where can I find an example for thread running without MP lock?
I heard that TCP protocol stack has multiple kernel threads.
Do they actually run concurrently on multiple cpu now?
I can't find where they release MP lock.
It seems that most of the kernel threads are running with MP lock
now. Right?
/\ Hidetoshi Shimokawa
\/ simokawa@xxxxxxxxxxxxxxxxxxx
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]