Re: [patch 09/21] (NEW) improve reclaim balancing

From: Rik van Riel
Date: Mon Mar 03 2008 - 14:27:01 EST


On Sat, 01 Mar 2008 22:35:44 +0900
KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> wrote:

> hi
>
> > + /*
> > + * Even if we did not try to evict anon pages at all, we want to
> > + * rebalance the anon lru active/inactive ratio.
> > + */
> > + if (inactive_anon_low(zone))
> > + shrink_list(NR_ACTIVE_ANON, SWAP_CLUSTER_MAX, zone, sc,
> > + priority);
> > +
>
> you want check global zone status, right?
> if so, this statement only do that at global scan.

Good catch. I have merged your suggestions.

--
All Rights Reversed
--
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/