Thread (17 messages) flat view 17 messages, 4 authors, 2021-01-20

Re: [PATCH] mm: net: memcg accounting for TCP rx zerocopy

From: Roman Gushchin <hidden>
Date: 2021-01-13 18:44:01
Also in: linux-mm, lkml, netdev

On Tue, Jan 12, 2021 at 04:18:44PM -0800, Shakeel Butt wrote:
On Tue, Jan 12, 2021 at 4:12 PM Arjun Roy [off-list ref] wrote:
quoted
On Tue, Jan 12, 2021 at 3:48 PM Roman Gushchin [off-list ref] wrote:
quoted
[snip]
quoted
quoted
Historically we have a corresponding vmstat counter to each charged page.
It helps with finding accounting/stastistics issues: we can check that
memory.current ~= anon + file + sock + slab + percpu + stack.
It would be nice to preserve such ability.
Perhaps one option would be to have it count as a file page, or have a
new category.
Oh these are actually already accounted for in NR_FILE_MAPPED.
Well, it's confusing. Can't we fix this by looking at the new page memcg flag?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help