diff --git a/src/mem/phys.zig b/src/mem/phys.zig index 1a2c329..6c5441d 100644 --- a/src/mem/phys.zig +++ b/src/mem/phys.zig @@ -258,7 +258,6 @@ fn alloc_bitmap(bits_required: usize) Bitmap { const bitmap = alloc_slice(u64, "bitmap", bitmap_entries); return .{ .data = bitmap }; } -// TODO: combine refcounters and bitmap allocation into a single chunk fn alloc_refcounters(count: usize) []u32 { const refcounters = alloc_slice(u32, "refcounters", count); @memset(refcounters, std.math.maxInt(u32));