Path: for oom_kill.c

From: hugang (linuxbest@sina.com)
Date: Fri Dec 01 2000 - 21:20:23 EST


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: 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