patch-2.1.68 linux/mm/memory.c

Next file: linux/mm/vmscan.c
Previous file: linux/kernel/sys.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.67/linux/mm/memory.c linux/mm/memory.c
@@ -79,9 +79,7 @@
 void oom(struct task_struct * task)
 {
 	printk("\nOut of memory for %s.\n", task->comm);
-	task->sig->action[SIGKILL-1].sa_handler = NULL;
-	task->blocked &= ~(1<<(SIGKILL-1));
-	send_sig(SIGKILL,task,1);
+	force_sig(SIGKILL, task);
 }
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov