diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-10-31 15:41:29 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-10-31 15:41:29 +0000 |
commit | be4f357149ecc68e1bf349f69f702cad430aec97 (patch) | |
tree | fe71f10c01688ab52e9bffd17c7d2ebd7d2c09b4 /sys/nfsclient/nfs_vfsops.c | |
parent | 5f4072340596bcd7e45343bc44317347b00f07e4 (diff) | |
download | FreeBSD-src-be4f357149ecc68e1bf349f69f702cad430aec97.zip FreeBSD-src-be4f357149ecc68e1bf349f69f702cad430aec97.tar.gz |
Normalize a significant number of kernel malloc type names:
- Prefer '_' to ' ', as it results in more easily parsed results in
memory monitoring tools such as vmstat.
- Remove punctuation that is incompatible with using memory type names
as file names, such as '/' characters.
- Disambiguate some collisions by adding subsystem prefixes to some
memory types.
- Generally prefer lower case to upper case.
- If the same type is defined in multiple architecture directories,
attempt to use the same name in additional cases.
Not all instances were caught in this change, so more work is required to
finish this conversion. Similar changes are required for UMA zone names.
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
-rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index 9cf9b2b..6f1db8d 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -75,11 +75,11 @@ __FBSDID("$FreeBSD$"); #include <nfsclient/nfsm_subs.h> #include <nfsclient/nfsdiskless.h> -MALLOC_DEFINE(M_NFSREQ, "NFS req", "NFS request header"); -MALLOC_DEFINE(M_NFSBIGFH, "NFSV3 bigfh", "NFS version 3 file handle"); -MALLOC_DEFINE(M_NFSDIROFF, "NFSV3 diroff", "NFS directory offset data"); -MALLOC_DEFINE(M_NFSHASH, "NFS hash", "NFS hash tables"); -MALLOC_DEFINE(M_NFSDIRECTIO, "NFS DirectIO", "NFS Direct IO async write state"); +MALLOC_DEFINE(M_NFSREQ, "nfsclient_req", "NFS request header"); +MALLOC_DEFINE(M_NFSBIGFH, "nfsclient_bigfh", "NFS version 3 file handle"); +MALLOC_DEFINE(M_NFSDIROFF, "nfsclient_diroff", "NFS directory offset data"); +MALLOC_DEFINE(M_NFSHASH, "nfsclient_hash", "NFS hash tables"); +MALLOC_DEFINE(M_NFSDIRECTIO, "nfsclient_directio", "NFS Direct IO async write state"); uma_zone_t nfsmount_zone; |