lkml.org 
[lkml]   [2011]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] fix get_scan_count for working well with small targets
On Wed, 27 Apr 2011 10:50:31 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:

> On Tue, 26 Apr 2011 13:59:34 -0700
> Andrew Morton <akpm@linux-foundation.org> 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.



\
 
 \ /
  Last update: 2011-04-27 05:19    [from the cache]
©2003-2011 Jasper Spaans