cvs commit: src/sys/netgraph ng_base.c

Alexander Motin mav at FreeBSD.org
Thu Jun 26 20:21:38 UTC 2008


mav         2008-06-26 20:21:20 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/netgraph         ng_base.c 
  Log:
  SVN rev 180035 on 2008-06-26 20:21:20Z by mav
  
  MFC rev. 1.155-1.156
  Rewrite node's r/w/q-lock semantics using only atomics instead of mutex
  and atomics combination. Mutex is now used only for queue protection.
  Also avoid unneded extra swi scheduling calls.
  
  Add memory barriers to the node locking operations.
  Add some comments.
  
  Revision    Changes    Path
  1.135.2.10  +102 -259  src/sys/netgraph/ng_base.c


More information about the cvs-src mailing list