Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 2004 17:26:56 +0000 (UTC)
From:      Andre Oppermann <andre@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net route.c
Message-ID:  <200408111726.i7BHQuPC078939@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
andre       2004-08-11 17:26:56 UTC

  FreeBSD src repository

  Modified files:
    sys/net              route.c 
  Log:
  Convert the routing table to use an UMA zone for rtentries.  The zone is
  called "rtentry".
  
  This saves a considerable amount of kernel memory.  R_Zmalloc previously
  used 256 byte blocks (plus kmalloc overhead) whereas UMA only needs 132
  bytes.
  
  Idea from:      OpenBSD
  
  Revision  Changes    Path
  1.106     +10 -4     src/sys/net/route.c



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