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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/