Skip to contentSkip to conversation

Configurable OOM killer Re: old oom-vm for 2.4.32 (was oom killer in 2.4.23)

DISCUSSION Kristian Peters 2 participants 2 messages Dec 9, 2003 – Dec 16, 2003 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 4 lines · Marcelo Tosatti

The following patch makes OOM killer configurable (its the same as the other patches posted except its around CONFIG_OOM_KILLER).

I hope the Configure.help entry is clear enough.

What about the PF_MEMDIE issues Andrea has argued ? Are they solved by the added code in page_alloc.c ?

As Andrea has pointed out earlier, a yield() after out_of_memory() is safe and should be added too.

I'd really like to see that config-option in 2.4.24.

*Kristian

#3 lore raw
Quoted 9 lines · Kristian Peters
Quoted 4 lines · Marcelo Tosatti

The following patch makes OOM killer configurable (its the same as the other patches posted except its around CONFIG_OOM_KILLER).

I hope the Configure.help entry is clear enough.

What about the PF_MEMDIE issues Andrea has argued ? Are they solved by the added code in page_alloc.c ?

As Andrea has pointed out earlier, a yield() after out_of_memory() is safe and should be added too.

out_of_memory() calls yield() so its not necessary.