Re: Path: for oom_kill.c

2000-12-04 Thread Jeff Epler
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 hu

Re: Path: for oom_kill.c

2000-12-04 Thread Rik van Riel
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). Be

Path: for oom_kill.c

2000-12-04 Thread hugang
Hello all: old> points = p->mm->total_vm; change to ---> points = p->pid; I write a shell to test it, cat > bin/hello hello ^D hello before change it ,kernel will kill some pid, to change it kernel will kill hello(bash). - To unsubscribe from this list: s