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.045 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site