diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2005-10-31 15:41:29 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2005-10-31 15:41:29 +0000 |
commit | 5bb84bc84b1d1f978dd93aa02acef9936e79abc0 (patch) | |
tree | fe71f10c01688ab52e9bffd17c7d2ebd7d2c09b4 /sys/fs/unionfs | |
parent | 9dc2f0df89ef0a9f8f2edab0ce3edfca3d510b6d (diff) | |
download | src-5bb84bc84b1d1f978dd93aa02acef9936e79abc0.tar.gz src-5bb84bc84b1d1f978dd93aa02acef9936e79abc0.zip |
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.
Notes
Notes:
svn path=/head/; revision=151897
Diffstat (limited to 'sys/fs/unionfs')
-rw-r--r-- | sys/fs/unionfs/union_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/unionfs/union_vfsops.c b/sys/fs/unionfs/union_vfsops.c index 61c78831990e..0a65ea7a008d 100644 --- a/sys/fs/unionfs/union_vfsops.c +++ b/sys/fs/unionfs/union_vfsops.c @@ -51,7 +51,7 @@ #include <sys/filedesc.h> #include <fs/unionfs/union.h> -static MALLOC_DEFINE(M_UNIONFSMNT, "UNION mount", "UNION mount structure"); +static MALLOC_DEFINE(M_UNIONFSMNT, "union_mount", "UNION mount structure"); extern vfs_init_t union_init; static vfs_root_t union_root; |