diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c index 91164335737..bab745623d0 100644 --- a/sys/kern/kern_malloc.c +++ b/sys/kern/kern_malloc.c @@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include @@ -699,10 +698,10 @@ kmeminit(void) * VM_KMEM_SIZE_MAX is dependent on the maximum KVA space * available. * - * Note that the kmem_map is also used by the zone allocator, + * Note that the kmem arena is also used by the zone allocator, * so make sure that there is enough space. */ - vm_kmem_size = VM_KMEM_SIZE + nmbclusters * PAGE_SIZE; + vm_kmem_size = VM_KMEM_SIZE; mem_size = cnt.v_page_count; #if defined(VM_KMEM_SIZE_SCALE)