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

Gleb Smirnoff glebius at FreeBSD.org
Fri May 27 07:48:36 PDT 2005


glebius     2005-05-27 14:48:35 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/netgraph         netgraph.h ng_base.c 
  Log:
  MFC:
    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.43.2.8   +0 -6      src/sys/netgraph/netgraph.h
  1.84.2.10  +114 -169  src/sys/netgraph/ng_base.c


More information about the cvs-src mailing list