lkml.org 
[lkml]   [2008]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 09/21] (NEW) improve reclaim balancing
On Sat, 01 Mar 2008 22:35:44 +0900
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> 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


\
 
 \ /
  Last update: 2008-03-03 20:29    [W:0.134 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site