mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
vm_reserv: use default pool for free page removal.
Differential Revision: https://reviews.freebsd.org/D45409
This commit is contained in:
parent
4a5d51e73e
commit
ee511f83b3
1 changed files with 2 additions and 1 deletions
|
|
@ -480,7 +480,8 @@ vm_reserv_depopulate(vm_reserv_t rv, int index)
|
|||
if (rv->popcnt == 0) {
|
||||
vm_reserv_remove(rv);
|
||||
vm_domain_free_lock(vmd);
|
||||
vm_phys_free_pages(rv->pages, rv->pages->pool, VM_LEVEL_0_ORDER);
|
||||
vm_phys_free_pages(rv->pages, VM_FREEPOOL_DEFAULT,
|
||||
VM_LEVEL_0_ORDER);
|
||||
vm_domain_free_unlock(vmd);
|
||||
counter_u64_add(vm_reserv_freed, 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue