Re: [PATCH v3 02/19] mm: memcg: prepare for byte-sized vmstat items

2020-05-20 Thread Vlastimil Babka
On 5/20/20 1:31 PM, Vlastimil Babka wrote: > On 4/22/20 10:46 PM, Roman Gushchin wrote: >> To implement per-object slab memory accounting, we need to >> convert slab vmstat counters to bytes. Actually, out of >> 4 levels of counters: global, per-node, per-memcg and per-lruvec >> only two last

Re: [PATCH v3 02/19] mm: memcg: prepare for byte-sized vmstat items

2020-05-20 Thread Vlastimil Babka
On 4/22/20 10:46 PM, Roman Gushchin wrote: > To implement per-object slab memory accounting, we need to > convert slab vmstat counters to bytes. Actually, out of > 4 levels of counters: global, per-node, per-memcg and per-lruvec > only two last levels will require byte-sized counters. > It's

Re: [PATCH v3 02/19] mm: memcg: prepare for byte-sized vmstat items

2020-05-07 Thread Johannes Weiner
On Wed, Apr 22, 2020 at 01:46:51PM -0700, Roman Gushchin wrote: > To implement per-object slab memory accounting, we need to > convert slab vmstat counters to bytes. Actually, out of > 4 levels of counters: global, per-node, per-memcg and per-lruvec > only two last levels will require byte-sized