Re: Path: for oom_kill.c

From: Jeff Epler (jepler@dsndata.com)
Date: Mon Dec 04 2000 - 12:52:36 EST


On Mon, Dec 04, 2000 at 02:57:34PM -0200, Rik van Riel wrote:
> 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?

I suspect that hugang whishes to kill the newest process. However,
this will not work after PID wrap.

Jeff
-
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/



This archive was generated by hypermail 2b29 : Thu Dec 07 2000 - 21:00:11 EST