Re: oom killer in 2.4.23
From: Peter Bergmann
Date: Thu Dec 04 2003 - 13:37:12 EST
>
> Yes, and as a side question, couldn't oom killer be made into a config
> option?
>
> Cheers,
> MaZe.
I just tried it and - no it does not work.
At least not with the following changes:
added #define PF_MEMDIE 0x00001000 to sched.h
replaced oom_kill.c with the 2.4.22 version
added out_of_memory() to the end of try_to_free_pages_zone()
replaced if (current->flags & PF_MEMALLOC && !in_interrupt()) {
with
replaced if ((current->flags & (PF_MEMALLOC | PF_MEMDIE)) && !in_interrupt()
) {
in page_alloc.c
effect is still unchanged.
processes get killed by VM and not oom_kikll.c
any hints ??
--
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net
-
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/