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

Johannes Weiner
2011-06-02T14:29:27Z

On Thu, Jun 02, 2011 at 10:30:48PM +0900, Hiroyuki Kamezawa wrote:
> 2011/6/1 Johannes Weiner <hannes@cmpxchg.org>:
> > 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@cmpxchg.org>
>
> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
>
> I wonder this can be cut out and cab be merged immediately, no ?

I don't see anything standing in the way of that. OTOH, all current
users have scan controls, so it's not really urgent, either.