Re: [PATCH v2] mm: memcg: update memcg OOM messages on cgroup2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 06, 2018 at 11:08:45AM -0700, Andrew Morton wrote:
> On Mon, 6 Aug 2018 09:15:29 -0700 Tejun Heo <tj@xxxxxxxxxx> wrote:
> 
> > mem_cgroup_print_oom_info() currently prints the same info for cgroup1
> > and cgroup2 OOMs.  It doesn't make much sense on cgroup2, which
> > doesn't use memsw or separate kmem accounting - the information
> > reported is both superflous and insufficient.  This patch updates the
> > memcg OOM messages on cgroup2 so that
> > 
> > * It prints memory and swap usages and limits used on cgroup2.
> > 
> > * It shows the same information as memory.stat.
> > 
> > I took out the recursive printing for cgroup2 because the amount of
> > output could be a lot and the benefits aren't clear.  An example dump
> > follows.
> 
> This conflicts rather severely with Shakeel's "memcg: reduce memcg tree
> traversals for stats collection".  Can we please park this until after
> 4.19-rc1?

Sure, or I can refresh the patch on top of -mm too.

Thanks.

-- 
tejun




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux