]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm: memcontrol: eliminate root memory.current
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 21 Oct 2015 22:03:20 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:20 +0000 (09:03 +1100)
commit44e449491c0fa20ef7660896beec49cefd50d99e
tree22f4e8576f3c0da79461a30c8c3ab38a2c9c8d6e
parent03bcef375766af4db12ec783241ac39f8bf5e2b1
mm: memcontrol: eliminate root memory.current

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 the new unified hierarchy interface only.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memcontrol.c