survive:
fault = handle_mm_fault(mm, vma, address, write);
#ifdef DEBUG
- printk("handle_mm_fault returns %d\n",fault);
+ printk("handle_mm_fault returns %d\n",fault);
#endif
switch (fault) {
case 1:
down_read(&mm->mmap_sem);
goto survive;
}
-
+
printk("VM: killing process %s\n", current->comm);
if (user_mode(regs))
do_exit(SIGKILL);