sandbox: vm: fix convert_region_to_blocks() not creating more than one block of a given size
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user