summaryrefslogtreecommitdiffstats
path: root/mm/thrash.c
diff options
context:
space:
mode:
authorSteven J. Magnani <steve@digidescorp.com>2010-03-05 22:42:24 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-06 20:26:27 +0100
commitc08c6e1f54c85fc299cf9f88cf330d6dd28a9a1d (patch)
treeb03659b467641e445b9f4a96423fd20ff806b7fb /mm/thrash.c
parentmm: use the same log level for show_mem() (diff)
downloadlinux-c08c6e1f54c85fc299cf9f88cf330d6dd28a9a1d.tar.xz
linux-c08c6e1f54c85fc299cf9f88cf330d6dd28a9a1d.zip
nommu: get_user_pages(): pin last page on non-page-aligned start
The noMMU version of get_user_pages() fails to pin the last page when the start address isn't page-aligned. The patch fixes this in a way that makes find_extend_vma() congruent to its MMU cousin. Signed-off-by: Steven J. Magnani <steve@digidescorp.com> Acked-by: Paul Mundt <lethal@linux-sh.org> 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/thrash.c')
0 files changed, 0 insertions, 0 deletions