Re: [PATCH 6/8] mm: memcontrol: switch to rstat

2021-02-08 Thread Johannes Weiner
On Sun, Feb 07, 2021 at 06:19:04PM -0800, Shakeel Butt wrote: > On Fri, Feb 5, 2021 at 10:28 AM Johannes Weiner wrote: > > > > Replace the memory controller's custom hierarchical stats code with > > the generic rstat infrastructure provided by the cgroup core. > > > > The current implementation do

Re: [PATCH 6/8] mm: memcontrol: switch to rstat

2021-02-07 Thread Shakeel Butt
On Fri, Feb 5, 2021 at 10:28 AM Johannes Weiner wrote: > > Replace the memory controller's custom hierarchical stats code with > the generic rstat infrastructure provided by the cgroup core. > > The current implementation does batched upward propagation from the > write side (i.e. as stats change)

[PATCH 6/8] mm: memcontrol: switch to rstat

2021-02-05 Thread Johannes Weiner
Replace the memory controller's custom hierarchical stats code with the generic rstat infrastructure provided by the cgroup core. The current implementation does batched upward propagation from the write side (i.e. as stats change). The per-cpu batches introduce an error, which is multiplied by th