Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199811
b: refs/heads/master
c: c421b08
h: refs/heads/master
i:
  199809: 1482c48
  199807: 9646fd7
v: v3
  • Loading branch information
Nick Piggin authored and Linus Torvalds committed Jun 4, 2010
1 parent 66ffc0c commit d5802af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 68db30ce609a8fc21b95f38f509c65dab0ecfa96
refs/heads/master: c421b08ef52f38049c6f591c5d260a97af7b0000
9 changes: 4 additions & 5 deletions trunk/arch/mn10300/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,10 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long fault_code,
*/
out_of_memory:
up_read(&mm->mmap_sem);
monitor_signal(regs);
printk(KERN_ALERT "VM: killing process %s\n", tsk->comm);
if ((fault_code & MMUFCR_xFC_ACCESS) == MMUFCR_xFC_ACCESS_USR)
do_exit(SIGKILL);
goto no_context;
if ((fault_code & MMUFCR_xFC_ACCESS) != MMUFCR_xFC_ACCESS_USR)
goto no_context;
pagefault_out_of_memory();
return;

do_sigbus:
up_read(&mm->mmap_sem);
Expand Down

0 comments on commit d5802af

Please sign in to comment.