lkml.org 
[lkml]   [2008]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [-mm][PATCH 4/5] core of reclaim throttle
>  >  +       /* in some situation (e.g. hibernation), shrink processing shouldn't be
> > + cut off even though large memory freeded. */
> > + if (!sc->may_cut_off)
> > + goto shrinking;
> > +
>
> where do you initialize may_cut_off ?
> Current Implementation, may_cut_off is always "0" so always goto shrinking

please see try_to_free_pages :)


\
 
 \ /
  Last update: 2008-05-05 10:27    [W:0.043 / U:2.760 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site