From be4f357149ecc68e1bf349f69f702cad430aec97 Mon Sep 17 00:00:00 2001 From: rwatson Date: Mon, 31 Oct 2005 15:41:29 +0000 Subject: 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. --- sys/geom/raid3/g_raid3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/geom/raid3') diff --git a/sys/geom/raid3/g_raid3.c b/sys/geom/raid3/g_raid3.c index 65f4c0f..a16817d 100644 --- a/sys/geom/raid3/g_raid3.c +++ b/sys/geom/raid3/g_raid3.c @@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$"); #include -static MALLOC_DEFINE(M_RAID3, "raid3 data", "GEOM_RAID3 Data"); +static MALLOC_DEFINE(M_RAID3, "raid3_data", "GEOM_RAID3 Data"); SYSCTL_DECL(_kern_geom); SYSCTL_NODE(_kern_geom, OID_AUTO, raid3, CTLFLAG_RW, 0, "GEOM_RAID3 stuff"); -- cgit v1.1