summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2005-12-03 19:37:29 +0000
committeralc <alc@FreeBSD.org>2005-12-03 19:37:29 +0000
commit8f06802ece34e3960249dabfb97fd8bfdd2f6712 (patch)
tree5b85c9db80b445c874c274a10d7fdc5294f55494 /sys/vm
parent9a200981f50c2b0eb430c3b43bbdb8c0b6f28ef7 (diff)
downloadFreeBSD-src-8f06802ece34e3960249dabfb97fd8bfdd2f6712.zip
FreeBSD-src-8f06802ece34e3960249dabfb97fd8bfdd2f6712.tar.gz
Eliminate unneeded preallocation at initialization.
Reviewed by: tegge
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_object.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 0436074f8..e8239a3 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -156,7 +156,6 @@ static long object_bypasses;
static int next_index;
static uma_zone_t obj_zone;
-#define VM_OBJECTS_INIT 256
static int vm_object_zinit(void *mem, int size, int flags);
@@ -262,7 +261,6 @@ vm_object_init(void)
NULL,
#endif
vm_object_zinit, NULL, UMA_ALIGN_PTR, UMA_ZONE_VM|UMA_ZONE_NOFREE);
- uma_prealloc(obj_zone, VM_OBJECTS_INIT);
}
void
OpenPOWER on IntegriCloud