I can't say I understand the whole MM system, however the random killing of processes seems like a rather unfortunate solution to the problem. If someone has a spare minute, maybe they could explain to me why running out of free memory in kswapd results in a deadlock situation. That aside, would it be an improvement to define another process flag (PF_OOMPRESERVE) that would declare a process as undesirable to be killed in an OOM situation, so that the user has at least some control over what gets killed first or last respectively. Only when select_bad_process() runs out of unflagged processes will it then proceed to kill the processes with this new flag. Just an idea, I am pretty sure there's tons of reasons why not to introduce a new per process flag. /Cheers Chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: [PATCH] Prevent OOM from killing init Philipp Rumpf
- Re: [PATCH] Prevent OOM from killing init James A. Sutherland
- Re: [PATCH] Prevent OOM from killing init Szabolcs Szakacsits
- Re: [PATCH] Prevent OOM from killing init Rik van Riel
- RE: [PATCH] Prevent OOM from killing ini... Juha Saarinen
- Re: [PATCH] Prevent OOM from killing ini... Roger Gammans
- RE: [PATCH] Prevent OOM from killing init Leif Sawyer
- Re: [PATCH] Prevent OOM from killing init Kevin Buhr
- RE: [PATCH] Prevent OOM from killing init Heusden, Folkert van
- Re: [PATCH] Prevent OOM from killing init Rik van Riel
- Re: [PATCH] Prevent OOM from killing init Christian Bodmer
- Re: [PATCH] Prevent OOM from killing init Horst von Brand
- Re: [PATCH] Prevent OOM from killing ini... Doug Ledford
- Re: [PATCH] Prevent OOM from killing... Mike Galbraith
- Re: [PATCH] Prevent OOM from ki... Jonathan Morton
- Re: [PATCH] Prevent OOM fro... Mike Galbraith
- Re: [PATCH] Prevent OOM from ki... Doug Ledford
- Re: [PATCH] Prevent OOM fro... Jonathan Morton
- Re: [PATCH] Prevent OOM fro... Jonathan Morton
- Re: [PATCH] Prevent OOM fro... Rik van Riel
- Re: [PATCH] Prevent OOM fro... Jonathan Morton