phys: remove comment about merging bitmap/refcounts
This commit is contained in:
@@ -258,7 +258,6 @@ fn alloc_bitmap(bits_required: usize) Bitmap {
|
|||||||
const bitmap = alloc_slice(u64, "bitmap", bitmap_entries);
|
const bitmap = alloc_slice(u64, "bitmap", bitmap_entries);
|
||||||
return .{ .data = bitmap };
|
return .{ .data = bitmap };
|
||||||
}
|
}
|
||||||
// TODO: combine refcounters and bitmap allocation into a single chunk
|
|
||||||
fn alloc_refcounters(count: usize) []u32 {
|
fn alloc_refcounters(count: usize) []u32 {
|
||||||
const refcounters = alloc_slice(u32, "refcounters", count);
|
const refcounters = alloc_slice(u32, "refcounters", count);
|
||||||
@memset(refcounters, std.math.maxInt(u32));
|
@memset(refcounters, std.math.maxInt(u32));
|
||||||
|
|||||||
Reference in New Issue
Block a user