Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
disable cgroupv2
Browse files Browse the repository at this point in the history
  • Loading branch information
milas committed Oct 14, 2023
1 parent b928289 commit ee00012
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ func (r *Rock5b) KernelArgs() procfs.Parameters {
procfs.NewParameter("cgroup_enable").Append("cpuset").Append("memory"),
procfs.NewParameter("cgroup_memory").Append("1"),
procfs.NewParameter("swapaccount").Append("1"),
procfs.NewParameter("unified_cgroup_hierarchy").Append("0"),
procfs.NewParameter(constants.KernelParamCGroups).Append("0"),
}
}

Expand Down

0 comments on commit ee00012

Please sign in to comment.