Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2003 20:26:58 -0800 (PST)
From:      Bosko Milekic <bmilekic@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_malloc.c subr_mbuf.c src/sys/sys mbuf.h src/usr.bin/netstat main.c mbuf.c netstat.h
Message-ID:  <200302200426.h1K4Qw7c051257@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bmilekic    2003/02/19 20:26:58 PST

  Modified files:
    sys/kern             kern_malloc.c subr_mbuf.c 
    sys/sys              mbuf.h 
    usr.bin/netstat      main.c mbuf.c netstat.h 
  Log:
  o Allow "buckets" in mb_alloc to be differently sized (according to
    compile-time constants).  That is, a "bucket" now is not necessarily
    a page-worth of mbufs or clusters, but it is MBUF_BUCK_SZ, CLUS_BUCK_SZ
    worth of mbufs, clusters.
  o Rename {mbuf,clust}_limit to {mbuf,clust}_hiwm and introduce
    {mbuf,clust}_lowm, which currently has no effect but will be used
    to set the low watermarks.
  o Fix netstat so that it can deal with the differently-sized buckets
    and teach it about the low watermarks too.
  o Make sure the per-cpu stats for an absent CPU has mb_active set to 0,
    explicitly.
  o Get rid of the allocate refcounts from mbuf map mess.  Instead,
    just malloc() the refcounts in one shot from mbuf_init()
  o Clean up / update comments in subr_mbuf.c
  
  Revision  Changes    Path
  1.117     +1 -2      src/sys/kern/kern_malloc.c
  1.40      +115 -76   src/sys/kern/subr_mbuf.c
  1.113     +4 -2      src/sys/sys/mbuf.h
  1.60      +13 -7     src/usr.bin/netstat/main.c
  1.31      +50 -33    src/usr.bin/netstat/mbuf.c
  1.34      +1 -1      src/usr.bin/netstat/netstat.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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