]> 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, 3 May 2012 05:43:55 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:33 +0000 (15:46 +1000)
commita097ef9007678519e1c2d411fe02d16c5fc4a532
tree921442a84a8ed24633d7ea8b1b5c4431f1823c73
parent7ca2e04df719f019ea0687b85b4f1579fe082687
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