cvs commit: src/sys/kern lwkt_msgport.c lwkt_thread.c src/sys/sys msgport.h thread.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Sep 9 00:23:32 PDT 2008
dillon 2008/09/09 00:21:57 PDT
DragonFly src repository
Modified files:
sys/kern lwkt_msgport.c lwkt_thread.c
sys/sys msgport.h thread.h
Log:
Add a MSGF_NORESCHED feature for lwkt thread-based message ports. The
idea is to use it to allow certain async messages to be queued to higher
priority system threads and schedule those threads without forcing an
immediate reschedule.
The feature will be used by the new socket code to prevent cavitation
between a user process and system protocol thread when the user process
is write()ing a lot of data over the network.
Revision Changes Path
1.47 +33 -8 src/sys/kern/lwkt_msgport.c
1.118 +25 -6 src/sys/kern/lwkt_thread.c
1.29 +1 -0 src/sys/sys/msgport.h
1.96 +1 -0 src/sys/sys/thread.h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_msgport.c.diff?r1=1.46&r2=1.47&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_thread.c.diff?r1=1.117&r2=1.118&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/msgport.h.diff?r1=1.28&r2=1.29&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/thread.h.diff?r1=1.95&r2=1.96&f=u
More information about the Commits
mailing list