Re: ANDROID low memory killer register (was Linux killed Kenny,bastard!)

From: Alan Cox
Date: Tue Jan 13 2009 - 07:27:20 EST


On Tue, 13 Jan 2009 15:23:56 +0300
Evgeniy Polyakov <zbr@xxxxxxxxxxx> wrote:

> On Tue, Jan 13, 2009 at 12:10:38PM +0000, Alan Cox (alan@xxxxxxxxxxxxxxxxxxx) wrote:
> > I believe they are related in the sense that both of them are
> > unneccessary and should not make the final kernel...
> >
> > The /proc../oom_adj interface is again sufficient for this.
>
> Besides the fact that it will unlikely to work the way you expect, since
> oom adjustment is racy and may be too late, or not happend at all...

I would love to see a proposal that met such criteria. I don't think I
ever will and your random name based hack isn't it. The closest we have
right now is the container stuff.

Alan
--
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/