From owner-cvs-all@FreeBSD.ORG Sun Jul 17 14:04:04 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ECED16A41C; Sun, 17 Jul 2005 14:04:04 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD62B43D46; Sun, 17 Jul 2005 14:04:03 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6HE43Bb018364; Sun, 17 Jul 2005 14:04:03 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6HE438w018363; Sun, 17 Jul 2005 14:04:03 GMT (envelope-from rwatson) Message-Id: <200507171404.j6HE438w018363@repoman.freebsd.org> From: Robert Watson Date: Sun, 17 Jul 2005 14:04:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_mbuf.c uipc_mbuf2.c src/sys/sys mbuf.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2005 14:04:04 -0000 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