Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2005 14:48:35 +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:  <200505271448.j4REmZgV091036@repoman.freebsd.org>

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



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