diff --git a/Kernel/VM/PhysicalRegion.cpp b/Kernel/VM/PhysicalRegion.cpp index 61c6301ae5d..6b74058e4cd 100644 --- a/Kernel/VM/PhysicalRegion.cpp +++ b/Kernel/VM/PhysicalRegion.cpp @@ -74,7 +74,7 @@ NonnullRefPtrVector PhysicalRegion::take_contiguous_free_pages(siz auto order = __builtin_ctz(rounded_page_count); Optional page_base; - for (auto& zone : m_zones) { + for (auto& zone : m_usable_zones) { page_base = zone.allocate_block(order); if (page_base.has_value()) { if (zone.is_empty()) {