From 5bb84bc84b1d1f978dd93aa02acef9936e79abc0 Mon Sep 17 00:00:00 2001 From: Robert Watson 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/netsmb/smb_conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netsmb') diff --git a/sys/netsmb/smb_conn.c b/sys/netsmb/smb_conn.c index 868fbaa0ec759..0791249fcd22e 100644 --- a/sys/netsmb/smb_conn.c +++ b/sys/netsmb/smb_conn.c @@ -59,7 +59,7 @@ static int smb_vcnext = 1; /* next unique id for VC */ SYSCTL_NODE(_net, OID_AUTO, smb, CTLFLAG_RW, NULL, "SMB protocol"); -MALLOC_DEFINE(M_SMBCONN, "SMB conn", "SMB connection"); +MALLOC_DEFINE(M_SMBCONN, "smb_conn", "SMB connection"); static void smb_co_init(struct smb_connobj *cp, int level, char *objname, struct thread *td); -- cgit v1.3