Re: [-mm][PATCH 4/5] core of reclaim throttle

From: minchan Kim
Date: Mon May 05 2008 - 04:32:48 EST


I see.

My gmail client hide that contents.
I am sorry :-)

On Mon, May 5, 2008 at 5:24 PM, KOSAKI Motohiro
<kosaki.motohiro@xxxxxxxxxxxxxx> wrote:
> > > + /* 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 :)
>



--
Thanks,
barrios
--
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/