Re: [PATCH 1/7] mm/memcg: scanning_global_lru means mem_cgroup_disabled

From: Glauber Costa
Date: Tue Mar 06 2012 - 06:48:20 EST


On 03/02/2012 09:12 AM, KAMEZAWA Hiroyuki wrote:
On Wed, 29 Feb 2012 13:15:39 +0400
Konstantin Khlebnikov<khlebnikov@xxxxxxxxxx> wrote:

From: Hugh Dickins<hughd@xxxxxxxxxx>

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@xxxxxxxxxx>
Signed-off-by: Konstantin Khlebnikov<khlebnikov@xxxxxxxxxx>

Acked-by: KAMEZWA Hiroyuki<kamezawa.hiroyu@xxxxxxxxxxxxx>


Acked-by: Glauber Costa <glommer@xxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/