Skip to content

Commit

Permalink
don't free pages by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgrakkurt committed Oct 26, 2024
1 parent ac30cff commit 3921c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/root.zig
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fn mmap_wrapper(size: usize, huge_page_flag: u32) ?[]align(std.mem.page_size) u8
}

pub const Config = struct {
free_after: usize = ONE_GB,
free_after: usize = std.math.maxInt(usize),
};

pub const HugePageAlloc = struct {
Expand Down

0 comments on commit 3921c79

Please sign in to comment.