lkml.org 
[lkml]   [2003]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.036 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site