Re: [patch 6/8] vmscan: change zone_nr_lru_pages to take memcginstead of scan control

From: Michal Hocko
Date: Mon Jun 13 2011 - 05:29:22 EST


On Wed 01-06-11 08:25:17, Johannes Weiner wrote:
> This function only uses sc->mem_cgroup from the scan control. Change
> it to take a memcg argument directly, so callsites without an actual
> reclaim context can use it as well.
>
> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>

Reviewed-by: Michal Hocko <mhocko@xxxxxxx>
--
Michal Hocko
SUSE Labs
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9
Czech Republic
--
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/