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

2015-11-25 Thread David Miller
From: Johannes Weiner Date: Tue, 24 Nov 2015 16:52:02 -0500 > 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"). > >

[PATCH 10/13] mm: memcontrol: do not account memory+swap on unified hierarchy

2015-11-24 Thread Johannes Weiner
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