Skip to content

Commit

Permalink
Use correct hugetlb interface file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Furisto committed Dec 30, 2021
1 parent faed120 commit fc2fad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/libcgroups/src/v2/hugetlb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl HugeTlb {
}

common::write_cgroup_file(
root_path.join(format!("hugetlb.{}.limit_in_bytes", hugetlb.page_size())),
root_path.join(format!("hugetlb.{}.max", hugetlb.page_size())),
hugetlb.limit(),
)?;
Ok(())
Expand Down

0 comments on commit fc2fad0

Please sign in to comment.