Re: [PATCH v2] fix get_scan_count for working well with smalltargets

From: KAMEZAWA Hiroyuki
Date: Tue Apr 26 2011 - 23:16:27 EST


On Wed, 27 Apr 2011 10:50:31 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:

> On Tue, 26 Apr 2011 13:59:34 -0700
> Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> > What about simply removing the nr_saved_scan logic and permitting small
> > scans? That simplifies the code and I bet it makes no measurable
> > performance difference.
> >
>
> ok, v2 here. How this looks ?
> For memcg, I think I should add select_victim_node() for direct reclaim,
> then, we'll be tune big memcg using small memory on a zone case.
>


Ah, sorry this v2 doesn't remove nr_saved_scan in reclaim_stat. ...
I will send v3.

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