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:
Brian Feldman 2004-08-05 21:54:11 +00:00
parent 7e6d75884f
commit 28775a6130
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133185

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);