Date: Sun, 17 Jul 2005 14:04:03 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mbuf.c uipc_mbuf2.c src/sys/sys mbuf.h Message-ID: <200507171404.j6HE438w018363@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2005-07-17 14:04:03 UTC
FreeBSD src repository
Modified files:
sys/kern kern_mbuf.c uipc_mbuf2.c
sys/sys mbuf.h
Log:
Define four constants, MBUF_{,MEM,CLUSTER,PACKET,TAG}_MEM_NAME, which
are string names for their respective UMA zones and malloc types, and
are passed into uma_zcreate() and MALLOC_DEFINE(). Export them
outside of _KERNEL in mbuf.h so that netstat can reference them.
Change the names to improve consistency, with each zone/type
associated with the mbuf allocator being prefixed mbuf_.
MFC after: 1 week
Revision Changes Path
1.10 +6 -4 src/sys/kern/kern_mbuf.c
1.32 +2 -1 src/sys/kern/uipc_mbuf2.c
1.171 +10 -0 src/sys/sys/mbuf.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507171404.j6HE438w018363>
