sandbox: vm: fix convert_region_to_blocks() not creating more than one block of a given size

This commit is contained in:
2023-01-31 18:25:32 +00:00
parent 324ed2c9d0
commit ee08088fcf

View File

@@ -70,8 +70,6 @@ static void convert_region_to_blocks(vm_zone_t *zone, phys_addr_t base, phys_add
if (reset_order) {
order = VM_PAGE_MAX_ORDER;
reset_order = 0;
} else {
order--;
}
if (base > limit + 1) {