lkml.org 
[lkml]   [2009]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 5/5] Memory controller soft limit reclaim on contention (v9)
* KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> [2009-07-21 00:20:38]:

>
> very sorry for the delaying.
>

No problem, thanks for the review and ack

>
> > @@ -1918,6 +1951,7 @@ loop_again:
> > for (i = 0; i <= end_zone; i++) {
> > struct zone *zone = pgdat->node_zones + i;
> > int nr_slab;
> > + int nid, zid;
> >
> > if (!populated_zone(zone))
> > continue;
> > @@ -1932,6 +1966,15 @@ loop_again:
> > temp_priority[i] = priority;
> > sc.nr_scanned = 0;
> > note_zone_scanning_priority(zone, priority);
> > +
> > + nid = pgdat->node_id;
> > + zid = zone_idx(zone);
> > + /*
> > + * Call soft limit reclaim before calling shrink_zone.
> > + * For now we ignore the return value
> > + */
> > + mem_cgroup_soft_limit_reclaim(zone, order, sc.gfp_mask,
> > + nid, zid);
> > /*
> > * We put equal pressure on every zone, unless one
> > * zone has way too many pages free already.
>
>
> In this part:
> Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
>
>
>

--
Balbir


\
 
 \ /
  Last update: 2009-07-20 17:59    [W:0.048 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site