From ee08088fcf8e6f734c032ae5dc0300dc14245ca9 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Tue, 31 Jan 2023 18:25:32 +0000 Subject: [PATCH] sandbox: vm: fix convert_region_to_blocks() not creating more than one block of a given size --- sandbox/vm/zone.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sandbox/vm/zone.c b/sandbox/vm/zone.c index e28a86a..82c369b 100644 --- a/sandbox/vm/zone.c +++ b/sandbox/vm/zone.c @@ -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) {