Re: [patch 1/7] lowmemorykiller: Only iterate over process listwhen needed.

From: Greg KH
Date: Tue May 05 2009 - 12:36:24 EST


On Tue, May 05, 2009 at 12:23:59PM +0200, Nick Piggin wrote:
> On Mon, May 04, 2009 at 05:26:50PM -0700, David Rientjes wrote:
> > From: Arve Hjønnevåg <arve@xxxxxxxxxxx>
> >
> > Use NR_ACTIVE plus NR_INACTIVE as a size estimate for our fake cache
> > instead the sum of rss. Neither method is accurate.
> >
> > Also skip the process scan, if the amount of memory available is above
> > the largest threshold set.
> >
> > Signed-off-by: Arve Hjønnevåg <arve@xxxxxxxxxxx>
>
> Didn't really look at the android stuff because I didn't even know
> it was there before. But I asume it is going to be "submitted" to
> the kernel proper at some stage (by some means other than a git rename) :)

Yes it will, when everyone agrees that what it is doing is the "right"
think to do :)

But for now, it sits in staging, as there are a few hundred thousand
devices using it...

thanks,

greg k-h
--
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/