Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356595
b: refs/heads/master
c: 4805b02
h: refs/heads/master
i:
  356593: 62f0c29
  356591: 6808835
v: v3
  • Loading branch information
Johannes Weiner authored and Linus Torvalds committed Feb 24, 2013
1 parent 5e03bf8 commit 95a5b71
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e3790144c9091631a18564aa64db8a971da02c41
refs/heads/master: 4805b02e90187c68d8f4e3305c3482b797e35809
4 changes: 4 additions & 0 deletions trunk/mm/mlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ long __mlock_vma_pages_range(struct vm_area_struct *vma,
if (vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC))
gup_flags |= FOLL_FORCE;

/*
* We made sure addr is within a VMA, so the following will
* not result in a stack expansion that recurses back here.
*/
return __get_user_pages(current, mm, addr, nr_pages, gup_flags,
NULL, NULL, nonblocking);
}
Expand Down

0 comments on commit 95a5b71

Please sign in to comment.