Thread (61 messages) 61 messages, 5 authors, 2015-11-24

Re: [PATCH 11/14] mm: memcontrol: do not account memory+swap on unified hierarchy

From: Vladimir Davydov <hidden>
Date: 2015-11-14 13:23:44
Also in: cgroups, linux-mm, lkml

On Thu, Nov 12, 2015 at 06:41:30PM -0500, Johannes Weiner wrote:
The unified hierarchy memory controller doesn't expose the memory+swap
counter to userspace, but its accounting is hardcoded in all charge
paths right now, including the per-cpu charge cache ("the stock").

To avoid adding yet more pointless memory+swap accounting with the
socket memory support in unified hierarchy, disable the counter
altogether when in unified hierarchy mode.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Vladimir Davydov <redacted>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help