lkml.org 
[lkml]   [2009]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux killed Kenny, bastard!
Hi

sorry... I also don't like this patch.


> @@ -263,6 +270,15 @@ static struct task_struct *select_bad_process(unsigned long *ppoints,
> }
> } while_each_thread(g, p);
>
> + /*
> + * We did not find the process with requested string in its name,
> + * so lets search for the usual victim.
> + */
> + if (name && !chosen) {
> + name = NULL;
> + goto again;
> + }
> +
> return chosen;

this patch makes oom handling slower.
slow bad process selection cause next another out of memory.

then, your trouble become large.





\
 
 \ /
  Last update: 2009-01-13 17:39    [W:0.120 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site