summaryrefslogtreecommitdiffstats
path: root/mm/nommu.c
diff options
context:
space:
mode:
authorMichel Lespinasse2011-01-14 00:46:12 +0100
committerLinus Torvalds2011-01-14 02:32:36 +0100
commit5fdb2002131cd4e210b9638a4fc932ec7be491d1 (patch)
tree233dc1cab275397d211a7d5490f19192a59a47fd /mm/nommu.c
parentmm: add FOLL_MLOCK follow_page flag. (diff)
downloadkernel-qcow2-linux-5fdb2002131cd4e210b9638a4fc932ec7be491d1.tar.gz
kernel-qcow2-linux-5fdb2002131cd4e210b9638a4fc932ec7be491d1.tar.xz
kernel-qcow2-linux-5fdb2002131cd4e210b9638a4fc932ec7be491d1.zip
mm: move VM_LOCKED check to __mlock_vma_pages_range()
Use a single code path for faulting in pages during mlock. The reason to have it in this patch series is that I did not want to update both code paths in a later change that releases mmap_sem when blocking on disk. Signed-off-by: Michel Lespinasse <walken@google.com> Cc: Hugh Dickins <hughd@google.com> Cc: Rik van Riel <riel@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Nick Piggin <npiggin@kernel.dk> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/nommu.c')
0 files changed, 0 insertions, 0 deletions