cvs commit: src/sys/netgraph ng_base.c

Alexander Motin mav at
Sat May 17 08:43:51 UTC 2008

mav         2008-05-17 08:43:50 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/netgraph         ng_base.c 
  MFC rev. 1.158
  Use separate UMA zone for data items allocation. It is a partial
  rev. 1.149 rework.
  It allows to save several percents of CPU time on SMP by using UMA's
  internal per-CPU allocation limits instead of own global variable
  each time updated with atomics.
  Also it restores NG_WAITOK flag processing.
  PR:             kern/123741
  Revision   Changes    Path  +70 -40    src/sys/netgraph/ng_base.c

More information about the cvs-src mailing list