On Fri 05-07-19 15:05:30, Yafang Shao wrote: > We always deploy many containers on one host. Some of these containers > are with high priority, while others are with low priority. > memory.{min, low} is useful to help us protect page cache of a specified > container to gain better performance. > But currently it is only supported in cgroup v2. > To support it in cgroup v1, we only need to make small changes, as the > facility is already exist. > This patch exposed two files to user in cgroup v1, which are memory.min > and memory.low. The usage to set these two files is same with cgroup v2. > Both hierarchical and non-hierarchical mode are supported. Cgroup v1 API is considered frozen with new features added only to v2. Why cannot you move over to v2 and have to stick with v1? -- Michal Hocko SUSE Labs