Re: lowmemory android driver not needed?

From: Greg KH
Date: Tue Jan 13 2009 - 22:54:22 EST


On Tue, Jan 13, 2009 at 06:30:39PM -0800, Arve Hjønnevåg wrote:
> The oom killer does not kick in until all caches are emptied. Our user
> space code changes the oom_adj value of processes that are no longer
> in the foreground so that they killed first (the process saves its
> state but does not exit). To avoid excessive demand paging, the low
> memory killer will kill these processes when the memory available
> drops below a threshold.

That makes sense. Can you provide a bit of documentation that I can
include in the driver so that people can actually use the thing? :)

Alan, does this sound like it should remain in the tree?

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/