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

From: KOSAKI Motohiro
Date: Mon May 05 2008 - 04:24:30 EST


> > + /* 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 :)
--
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/