mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 15:40:44 +00:00
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:
parent
7e6d75884f
commit
28775a6130
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133185
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue