On Fri, May 13, 2022 at 06:52:20PM +0300, Vasily Averin wrote: > Creating of each new cpu cgroup allocates two 512-bytes kernel objects > per CPU. This is especially important for cgroups shared parent memory > cgroup. In this scenario, on nodes with multiple processors, these > allocations become one of the main memory consumers. > > Accounting for this memory helps to avoid misuse inside memcg-limited > contianers. > > Signed-off-by: Vasily Averin <vvs@xxxxxxxxxx> Acked-by: Shakeel Butt <shakeelb@xxxxxxxxxx>