Messages in this thread | | | Date | Thu, 4 Dec 2003 19:33:38 +0100 (MET) | From | "Peter Bergmann" <> | Subject | Re: oom killer in 2.4.23 |
| |
> > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |