cvs commit: src/sys/kern lwkt_msgport.c lwkt_thread.c src/sys/sys msgport.h thread.h

Matthew Dillon dillon at
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 
  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

More information about the Commits mailing list