Re: [PATCH] mm: memcontrol: eliminate root memory.current

2015-10-22 Thread Johannes Weiner
On Thu, Oct 22, 2015 at 11:07:56AM +0200, Michal Hocko wrote: > On Wed 21-10-15 14:49:54, Johannes Weiner wrote: > > memory.current on the root level doesn't add anything that wouldn't be > > more accurate and detailed using system statistics. It already doesn't > > include slabs, and it'll be a

Re: [PATCH] mm: memcontrol: eliminate root memory.current

2015-10-22 Thread Michal Hocko
On Wed 21-10-15 14:49:54, Johannes Weiner wrote: > memory.current on the root level doesn't add anything that wouldn't be > more accurate and detailed using system statistics. It already doesn't > include slabs, and it'll be a pain to keep in sync when further memory > types are accounted in the

Re: [PATCH] mm: memcontrol: eliminate root memory.current

2015-10-22 Thread Michal Hocko
On Wed 21-10-15 14:49:54, Johannes Weiner wrote: > memory.current on the root level doesn't add anything that wouldn't be > more accurate and detailed using system statistics. It already doesn't > include slabs, and it'll be a pain to keep in sync when further memory > types are accounted in the

Re: [PATCH] mm: memcontrol: eliminate root memory.current

2015-10-22 Thread Johannes Weiner
On Thu, Oct 22, 2015 at 11:07:56AM +0200, Michal Hocko wrote: > On Wed 21-10-15 14:49:54, Johannes Weiner wrote: > > memory.current on the root level doesn't add anything that wouldn't be > > more accurate and detailed using system statistics. It already doesn't > > include slabs, and it'll be a

[PATCH] mm: memcontrol: eliminate root memory.current

2015-10-21 Thread Johannes Weiner
memory.current on the root level doesn't add anything that wouldn't be more accurate and detailed using system statistics. It already doesn't include slabs, and it'll be a pain to keep in sync when further memory types are accounted in the memory controller. Remove it. Note that this applies to

[PATCH] mm: memcontrol: eliminate root memory.current

2015-10-21 Thread Johannes Weiner
memory.current on the root level doesn't add anything that wouldn't be more accurate and detailed using system statistics. It already doesn't include slabs, and it'll be a pain to keep in sync when further memory types are accounted in the memory controller. Remove it. Note that this applies to