Re: Sv: [PATCH] mm/memcontrol: add memory.peak in cgroup root

From: Michal Hocko
Date: Tue Feb 21 2023 - 11:17:02 EST


On Tue 21-02-23 16:13:14, Christopher Wong wrote:
> Hi Michal,
>
> Thanks for the quick response! I think we are just trying to
> get the same value that was available for us in cgroup v1
> memory.max_usage_in_bytes. I guess this value also is incomplete for
> representing the system memory usage.

Correct.

> Is it due the incompleteness that the memory.peak has been left out in
> the root of cgroup v2?

I think so but I do not remember 100%. You might want to look into email
archives.
--
Michal Hocko
SUSE Labs