Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176275
b: refs/heads/master
c: d99be1a
h: refs/heads/master
i:
  176273: 3a94f48
  176271: ee46572
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Dec 15, 2009
1 parent bc7b6d4 commit 5431284
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a70caa8ba48f21f46d3b4e71b6b8d14080bbd57a
refs/heads/master: d99be1a8ecf377c2c9b3372d36411ad6547bbd4c
4 changes: 2 additions & 2 deletions trunk/mm/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -2527,7 +2527,7 @@ static int do_swap_page(struct mm_struct *mm, struct vm_area_struct *vma,
ret = VM_FAULT_HWPOISON;
} else {
print_bad_pte(vma, address, orig_pte, NULL);
ret = VM_FAULT_OOM;
ret = VM_FAULT_SIGBUS;
}
goto out;
}
Expand Down Expand Up @@ -2923,7 +2923,7 @@ static int do_nonlinear_fault(struct mm_struct *mm, struct vm_area_struct *vma,
* Page table corrupted: show pte and kill process.
*/
print_bad_pte(vma, address, orig_pte, NULL);
return VM_FAULT_OOM;
return VM_FAULT_SIGBUS;
}

pgoff = pte_to_pgoff(orig_pte);
Expand Down

0 comments on commit 5431284

Please sign in to comment.