DragonFly commits List (threaded) for 2008-09
DragonFly BSD
DragonFly commits List (threaded) for 2008-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 9 Sep 2008 00:21:57 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]