Re: [PATCH 1/10] mm/memcg: scanning_global_lru meansmem_cgroup_disabled

From: KAMEZAWA Hiroyuki
Date: Tue Feb 21 2012 - 03:04:51 EST


On Mon, 20 Feb 2012 15:28:21 -0800 (PST)
Hugh Dickins <hughd@xxxxxxxxxx> wrote:

> 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>

Ah, ok. Now we have global_reclaim() and scanning_global_lru() but
scanning_global_lru() is obsolete now.

Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>


--
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/