Re: [PATCH v3] oom-kill: add lowmem usage aware oom kill handling

From: Alan Cox
Date: Thu Jan 28 2010 - 19:34:53 EST

On Fri, 29 Jan 2010 01:25:18 +0100
Vedran FuraÄ <vedran.furac@xxxxxxxxx> wrote:

> Alan Cox wrote:
> > Am I missing something fundamental here ?
> Yes, the fact linux mm currently sucks. How else would you explain
> possibility of killing random (often root owned) processes using a 5
> lines program started by an ordinary user?

If you don't want to run with overcommit you turn it off. At that point
processes get memory allocations refused if they can overrun the
theoretical limit, but you generally need more swap (it's one of the
reasons why things like BSD historically have a '3 * memory' rule).

So sounds to me like a problem between the keyboard and screen (coupled
with the fact far too few desktop vendors include tools to easily set
this stuff up)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at