diff --git a/src/allocator/frame/bump.rs b/src/allocator/frame/bump.rs index 85334b4af6..a911647159 100644 --- a/src/allocator/frame/bump.rs +++ b/src/allocator/frame/bump.rs @@ -62,14 +62,11 @@ impl FrameAllocator for BumpAllocator { for area in self.areas.iter() { if offset < area.size { if area.size - offset < count.data() * A::PAGE_SIZE { - /* // The area may be too small for this alloc request. In that case, skip to the // next area. self.offset += area.size - offset; offset = 0; continue; - */ - return None; } let page_phys = area.base.add(offset);