summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/zalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kern/zalloc.c b/kern/zalloc.c
index 126937e..54a3ffe 100644
--- a/kern/zalloc.c
+++ b/kern/zalloc.c
@@ -320,6 +320,7 @@ static vm_offset_t zget_space(vm_offset_t size, vm_size_t align)
zone_page_init(new_space, space_to_add,
ZONE_PAGE_USED);
simple_lock(&zget_space_lock);
+ ALIGN_SIZE_UP(zalloc_next_space, align);
continue;
}