lkml.org 
[lkml]   [2000]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Path: for oom_kill.c
On Sat, 2 Dec 2000, hugang wrote:

> Hello all:
>
> old ----> points = p->mm->total_vm;
>
> change to ---> points = p->pid;

Ummm, what exactly do you want to achieve with this?

> before change it ,kernel will kill some pid, to change it kernel
> will kill hello(bash).

Before the change, the kernel will try to kill a BIG process
(the obvious suspect for a memory leak). After the change,
the kernel will kill an almost random process ...

regards,

Rik
--
Hollywood goes for world dumbination,
Trailer at 11.

http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com.br/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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