Re: [PATCH v2 3/5] mm: memcg/percpu: per-memcg percpu memory statistics

2020-06-21 Thread Nathan Chancellor
On Sun, Jun 21, 2020 at 08:26:35PM -0700, Roman Gushchin wrote: > On Sun, Jun 21, 2020 at 06:48:03PM -0700, Nathan Chancellor wrote: > > On Mon, Jun 08, 2020 at 04:08:17PM -0700, Roman Gushchin wrote: > > > Percpu memory can represent a noticeable chunk of the total > > > memory consumption,

Re: [PATCH v2 3/5] mm: memcg/percpu: per-memcg percpu memory statistics

2020-06-21 Thread Roman Gushchin
On Sun, Jun 21, 2020 at 06:48:03PM -0700, Nathan Chancellor wrote: > On Mon, Jun 08, 2020 at 04:08:17PM -0700, Roman Gushchin wrote: > > Percpu memory can represent a noticeable chunk of the total > > memory consumption, especially on big machines with many CPUs. > > Let's track percpu memory

Re: [PATCH v2 3/5] mm: memcg/percpu: per-memcg percpu memory statistics

2020-06-21 Thread Nathan Chancellor
On Mon, Jun 08, 2020 at 04:08:17PM -0700, Roman Gushchin wrote: > Percpu memory can represent a noticeable chunk of the total > memory consumption, especially on big machines with many CPUs. > Let's track percpu memory usage for each memcg and display > it in memory.stat. > > A percpu allocation