]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/memcg: scanning_global_lru means mem_cgroup_disabled
authorHugh Dickins <hughd@google.com>
Thu, 12 Apr 2012 22:52:03 +0000 (08:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 17 Apr 2012 03:47:19 +0000 (13:47 +1000)
commitecc024d3d9c1e886527680c31e85c199747f1932
treecc84970e60f473f99ea8036d53b58837964277f8
parent467c2912c01d345c03818bf1c0b177b17742a1b3
mm/memcg: scanning_global_lru means mem_cgroup_disabled

Although one has to admire the skill with which it has been concealed,
scanning_global_lru(mz) is actually just an interesting way to test
mem_cgroup_disabled().  Too many developer hours have been wasted on
confusing it with global_reclaim(): just use mem_cgroup_disabled().

Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Glauber Costa <glommer@parallels.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c