On Mon, 9 Oct 2000, Andrea Arcangeli wrote: > > No. It's only needed if your OOM algorithm is so crappy that > > it might end up killing init by mistake. > > The algorithm you posted on the list in this thread will kill init if > on 4Mbyte machine without swap init is large 3 Mbytes and you execute > a task that grows over 1M. i think the OOM algorithm should not kill processes that have child-processes, it should first kill child-less 'leaves'. Killing a process that has child processes likely results in unexpected behavior of those child-processes. (and equals to effective killing of those child-processes as well.) But this mechanizm can be abused (a malicious memory hog can create a child-process just to avoid the OOM-killer) - but there are ways to avoid this, eg. to add all the 'MM badness' points to children? Ie. a child which has MM-abuser parent(s) will definitely be killed first. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM... Dmitry Pogosyan
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM... David Ford
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM... Marco Colombo
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler David Weinehall
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler David Weinehall
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Andrea Arcangeli
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Ingo Molnar
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM han... Andrea Arcangeli
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM... Rik van Riel
- Re: [PATCH] VM fix for 2.4.0-test9 &... Andrea Arcangeli
- Re: [PATCH] VM fix for 2.4.0-test9 ... Ingo Molnar
- Re: [PATCH] VM fix for 2.4.0-test9 ... Andi Kleen
- Re: [PATCH] VM fix for 2.4.0-test9 ... Ingo Molnar
- Re: [PATCH] VM fix for 2.4.0-test9 ... Rik van Riel
- Re: [PATCH] VM fix for 2.4.0-test9 ... Ingo Molnar
- Re: [PATCH] VM fix for 2.4.0-test9 ... Rik van Riel
- Re: [PATCH] VM fix for 2.4.0-test9 ... Philipp Rumpf
- Re: [PATCH] VM fix for 2.4.0-test9 ... James Sutherland
- Re: [PATCH] VM fix for 2.4.0-test9 ... Rik van Riel
- Re: [PATCH] VM fix for 2.4.0-test9 ... J.A. Sutherland
- Re: [PATCH] VM fix for 2.4.0-test9 ... Andrea Arcangeli