Re: [PATCH v9 6/9] secretmem: add memcg accounting

2020-11-17 Thread Mike Rapoport
On Tue, Nov 17, 2020 at 12:02:01PM -0800, Shakeel Butt wrote: > On Tue, Nov 17, 2020 at 11:49 AM Roman Gushchin wrote: > > > > On Tue, Nov 17, 2020 at 06:29:29PM +0200, Mike Rapoport wrote: > > > From: Mike Rapoport > > > > > > Account memory consumed by secretmem to memcg. The accounting is upda

Re: [PATCH v9 6/9] secretmem: add memcg accounting

2020-11-17 Thread Shakeel Butt
On Tue, Nov 17, 2020 at 11:49 AM Roman Gushchin wrote: > > On Tue, Nov 17, 2020 at 06:29:29PM +0200, Mike Rapoport wrote: > > From: Mike Rapoport > > > > Account memory consumed by secretmem to memcg. The accounting is updated > > when the memory is actually allocated and freed. > > > > Signed-of

Re: [PATCH v9 6/9] secretmem: add memcg accounting

2020-11-17 Thread Roman Gushchin
On Tue, Nov 17, 2020 at 06:29:29PM +0200, Mike Rapoport wrote: > From: Mike Rapoport > > Account memory consumed by secretmem to memcg. The accounting is updated > when the memory is actually allocated and freed. > > Signed-off-by: Mike Rapoport Hi Mike! I like this version so much more, than

[PATCH v9 6/9] secretmem: add memcg accounting

2020-11-17 Thread Mike Rapoport
From: Mike Rapoport Account memory consumed by secretmem to memcg. The accounting is updated when the memory is actually allocated and freed. Signed-off-by: Mike Rapoport --- mm/filemap.c | 3 ++- mm/secretmem.c | 36 +++- 2 files changed, 37 insertions(+), 2