cvs commit: src/sys/netgraph ng_base.c

Alexander Motin mav at FreeBSD.org
Sun Apr 20 11:28:22 UTC 2008


mav         2008-04-20 11:28:16 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/netgraph         ng_base.c 
  Log:
  MFC some small optimizations:
  rev. 1.151: Remove impossible (hk_peer == NULL) check.
  rev. 1.152: Remove ng_setisr() call from ng_dequeue().
  rev. 1.153: There is no need to erase hook->hk_node before freeing hook.
  rev. 1.154: Use new atomic_fetchadd() primitive instead of looping atomic_cmpset().
  rev. 1.158: ng_address_hook() microoptimization.
  
  Revision   Changes    Path
  1.135.2.8  +11 -30    src/sys/netgraph/ng_base.c


More information about the cvs-src mailing list