Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 May 2005 09:25:18 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netgraph netgraph.h ng_base.c
Message-ID:  <200505140925.j4E9PIA4070091@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505140925.j4E9PIA4070091>