During VM oom condition, kill all threads in process group
[linux-2.6.git] / arch / xtensa / mm / fault.c
index 45d28f2..2f84285 100644 (file)
@@ -152,7 +152,7 @@ out_of_memory:
        }
        printk("VM: killing process %s\n", current->comm);
        if (user_mode(regs))
-               do_exit(SIGKILL);
+               do_group_exit(SIGKILL);
        bad_page_fault(regs, address, SIGKILL);
        return;