Turn on the new contigmalloc(9) by default. There should not actually

be a reason to use the old contigmalloc(9), but if desired, it the
vm.old_contigmalloc setting can be tuned/sysctld back to 0 for now.
This commit is contained in:
green 2004-08-05 21:54:11 +00:00
parent 6016d1505d
commit 5e84871d58

View File

@ -515,7 +515,7 @@ contigmalloc2(vm_page_t m, vm_pindex_t npages, int flags)
return ((void *)addr);
}
static int vm_old_contigmalloc = 1;
static int vm_old_contigmalloc = 0;
SYSCTL_INT(_vm, OID_AUTO, old_contigmalloc,
CTLFLAG_RW, &vm_old_contigmalloc, 0, "Use the old contigmalloc algorithm");
TUNABLE_INT("vm.old_contigmalloc", &vm_old_contigmalloc);