2004-03-16 12:31:33

by Tvrtko A. Uršulin

[permalink] [raw]
Subject: [PATCH] Modular OOM handlers for 2.6.4 (1/2)


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


Attachments:
(No filename) (402.00 B)
moom-2.6.4-base.patch (9.50 kB)
Download all attachments

2004-03-16 12:39:32

by Tvrtko A. Uršulin

[permalink] [raw]
Subject: Re: [PATCH] Modular OOM handlers for 2.6.4 (2/2)


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


Attachments:
(No filename) (411.00 B)
moom-2.6.4-modules.patch (15.17 kB)
Download all attachments