Re: [PATCH v16 08/11] secretmem: add memcg accounting

From
Shakeel Butt <hidden>
Date
2021-01-25 17:20:35
Also in
linux-arch, linux-arm-kernel, linux-fsdevel, linux-kselftest, linux-mm, linux-riscv, lkml, nvdimm
Reply to
Matthew Wilcox, 2021-01-26
On Mon, Jan 25, 2021 at 8:20 AM Matthew Wilcox [off-list ref] wrote:
On Thu, Jan 21, 2021 at 02:27:20PM +0200, Mike Rapoport wrote:
quoted
From: Mike Rapoport <redacted>

Account memory consumed by secretmem to memcg. The accounting is updated
when the memory is actually allocated and freed.
I think this is wrong.  It fails to account subsequent allocators from
the same PMD.  If you want to track like this, you need separate pools
per memcg.
Are these secretmem pools shared between different jobs/memcgs?
Thread (57 messages) 57 messages, 10 authors, last reply 2021-02-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help