Messages in this thread | | | Date | Wed, 14 Jan 2009 01:35:36 +0900 (JST) | From | KOSAKI Motohiro <> | Subject | Re: 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.
| |