summaryrefslogtreecommitdiff
path: root/sys/kern/kern_malloc.c
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2001-01-21 07:52:20 +0000
committerJason Evans <jasone@FreeBSD.org>2001-01-21 07:52:20 +0000
commitd1c1b8413eda1667fac8797ca8ea32819f51eed3 (patch)
tree0ee93105c7d9a172974583579640832d14a218f1 /sys/kern/kern_malloc.c
parent8363b95b57feec9d900c7056843d030adbae592a (diff)
Notes
Diffstat (limited to 'sys/kern/kern_malloc.c')
-rw-r--r--sys/kern/kern_malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
index d6275b8859ac..396f02bbb14c 100644
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -74,7 +74,7 @@ static struct kmemusage *kmemusage;
static char *kmembase;
static char *kmemlimit;
-MUTEX_DECLARE(static, malloc_mtx);
+static struct mtx malloc_mtx;
u_int vm_kmem_size;
@@ -439,7 +439,7 @@ kmeminit(dummy)
#error "kmeminit: MAXALLOCSAVE too small"
#endif
- mtx_init(&malloc_mtx, "malloc", MTX_DEF | MTX_COLD);
+ mtx_init(&malloc_mtx, "malloc", MTX_DEF);
/*
* Try to auto-tune the kernel memory size, so that it is