cvs commit: src/sys/netgraph netgraph.h ng_base.c

Gleb Smirnoff glebius at FreeBSD.org
Sat May 14 02:25:20 PDT 2005


glebius     2005-05-14 09:25:18 UTC

  FreeBSD src repository

  Modified files:
    sys/netgraph         netgraph.h ng_base.c 
  Log:
  Use uma(9) for allocating netgraph items:
    - ng_getqblk() simply runs uma_zalloc().
    - ng_free_item() simply frees.
    - ngq_mtx is pushed down under NETGRAPH_DEBUG.
    - NGQF_FREE is removed.
  
  Increase default maxalloc to 512.
  
  Reviewed by:    julian
  
  Revision  Changes    Path
  1.51      +1 -7      src/sys/netgraph/netgraph.h
  1.99      +47 -102   src/sys/netgraph/ng_base.c


More information about the cvs-all mailing list