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

cvs commit: src/sys/netinet ip_flow.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 26 Oct 2008 21:38:29 -0700 (PDT)

sephe       2008/10/26 21:38:29 PDT

DragonFly src repository

  Modified files:
    sys/netinet          ip_flow.c 
  Log:
  - All of the ipflow table/list read/write operations happen in protocol
    threads, so there is no need to use critical section.  We only need to
    protect per-cpu static timeout netmsgs with critical section, whose
    MSGF_DONE is checked in ipi.
  - Mark per-cpu static timeout netmsgs MPSAFE.
  - smp_active_mask should be taken into consideration, when broadcasting ipi.
  
  Revision  Changes    Path
  1.25      +4 -15     src/sys/netinet/ip_flow.c


http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_flow.c.diff?r1=1.24&r2=1.25&f=u



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