Change these descriptions of memory types used in malloc(9), as their

current, rather long strings make output from vmstat -m look unpleasant.

Approved by:	cognet (mentor)
This commit is contained in:
Wojciech A. Koszek 2007-03-05 00:21:40 +00:00
parent 759ace7eca
commit 59f65a4ba6
2 changed files with 4 additions and 5 deletions

View File

@ -58,7 +58,7 @@ SYSCTL_INT(_debug, OID_AUTO, rcluster, CTLFLAG_RW, &rcluster, 0,
"Debug VFS clustering code");
#endif
static MALLOC_DEFINE(M_SEGMENT, "cluster_save_buffer", "cluster_save buffer");
static MALLOC_DEFINE(M_SEGMENT, "cl_savebuf", "cluster_save buffer");
static struct cluster_save *
cluster_collectbufs(struct vnode *vp, struct buf *last_bp);

View File

@ -76,11 +76,10 @@ __FBSDID("$FreeBSD$");
#include <security/mac/mac_framework.h>
static MALLOC_DEFINE(M_NFSSVC, "nfsserver_srvsock", "Nfs server structure");
MALLOC_DEFINE(M_NFSRVDESC, "nfsserver_srvdesc", "NFS server socket descriptor");
MALLOC_DEFINE(M_NFSD, "nfsserver_daemon", "Nfs server daemon structure");
static MALLOC_DEFINE(M_NFSSVC, "nfss_srvsock", "Nfs server structure");
MALLOC_DEFINE(M_NFSRVDESC, "nfss_srvdesc", "NFS server socket descriptor");
MALLOC_DEFINE(M_NFSD, "nfss_daemon", "Nfs server daemon structure");
#define TRUE 1
#define FALSE 0