Hello to all!
Here goes my effort in making modular infrastructure for OOM handling.
Config is added under "General options" and it defaults to same behavior as so
far. Don't know what else to write here.. I guess you will look at the patch
and that will tell you everything.
Base patch contains only the infrastructure with existing handler which is
called classic OOM killer.
Regards,
Tvrtko
These are two additional handlers for OOM situation.
oom_panic - will make kernel panic in oom condition. It is usefull for some
embedded developers as I understand.
oom_kill_parent - keeps tracks of parents whose children were killed in the
past. When configurable (sysctl) threshold is passed, parent itself is
killed. Also, parent sins are expired after some time (also configurable).
Regards,
Tvrtko