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/nfsserver | |
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/nfsserver')
-rw-r--r-- | sys/nfsserver/nfs_syscalls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfsserver/nfs_syscalls.c b/sys/nfsserver/nfs_syscalls.c index 8b2f820..430c4d1 100644 --- a/sys/nfsserver/nfs_syscalls.c +++ b/sys/nfsserver/nfs_syscalls.c @@ -74,10 +74,10 @@ __FBSDID("$FreeBSD$"); #include <nfsserver/nfsm_subs.h> #include <nfsserver/nfsrvcache.h> -static MALLOC_DEFINE(M_NFSSVC, "NFS srvsock", "Nfs server structure"); +static MALLOC_DEFINE(M_NFSSVC, "nfsserver_srvsock", "Nfs server structure"); -MALLOC_DEFINE(M_NFSRVDESC, "NFSV3 srvdesc", "NFS server socket descriptor"); -MALLOC_DEFINE(M_NFSD, "NFS daemon", "Nfs server daemon structure"); +MALLOC_DEFINE(M_NFSRVDESC, "nfsserver_srvdesc", "NFS server socket descriptor"); +MALLOC_DEFINE(M_NFSD, "nfsserver_daemon", "Nfs server daemon structure"); #define TRUE 1 |