Re: [PATCH] oom: skip frozen tasks

From: David Rientjes
Date: Fri Aug 26 2011 - 14:09:27 EST


On Fri, 26 Aug 2011, Konstantin Khlebnikov wrote:

> Maybe just fix this "panic" logic? OOM killer should panic only on global
> memory shortage.
>

NO, it shouldn't, we actually rely quite extensively on cpusets filled
with OOM_DISABLE threads to panic because the job scheduler would be
unresponsive in such a condition and it'd much better to panic and reboot
than to brick the machine. I'm not sure where you're getting all your
information from, but please don't pass it off as principles.

You can set the panic logic to be whatever you want with
/proc/sys/vm/panic_on_oom. See Documentation/filesystems/proc.txt for
more information.
--
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/