summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sysctl.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-10-11 18:31:40 +0000
committerphk <phk@FreeBSD.org>1997-10-11 18:31:40 +0000
commit645e7b2ab6676a2a3a05a59a053929d3b7732b4d (patch)
tree99b56513fb3f54852886a3d0eb7c8b3e1a9f2602 /sys/kern/kern_sysctl.c
parenta14e4dea11b5b83147d62a7cb7dacdec1ea19e15 (diff)
downloadFreeBSD-src-645e7b2ab6676a2a3a05a59a053929d3b7732b4d.zip
FreeBSD-src-645e7b2ab6676a2a3a05a59a053929d3b7732b4d.tar.gz
Distribute and statizice a lot of the malloc M_* types.
Substantial input from: bde
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-rw-r--r--sys/kern/kern_sysctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index fe90f25..27e4e84 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -37,7 +37,7 @@
* SUCH DAMAGE.
*
* @(#)kern_sysctl.c 8.4 (Berkeley) 4/14/94
- * $Id: kern_sysctl.c,v 1.69 1997/02/22 09:39:12 peter Exp $
+ * $Id: kern_sysctl.c,v 1.70 1997/04/09 15:23:09 bde Exp $
*/
#include <sys/param.h>
@@ -51,6 +51,8 @@
#include <vm/vm.h>
#include <vm/vm_extern.h>
+MALLOC_DEFINE(M_SYSCTL, "sysctl", "sysctl internal magic");
+
/*
* Locking and stats
*/
OpenPOWER on IntegriCloud