Skip to content
Commit 7561e8ca authored by David Howells's avatar David Howells Committed by Linus Torvalds
Browse files

NOMMU: Revert 'nommu: get_user_pages(): pin last page on non-page-aligned start'

Revert the following patch:

	commit c08c6e1f


	Author: Steven J. Magnani <steve@digidescorp.com>
	Date:   Fri Mar 5 13:42:24 2010 -0800

	nommu: get_user_pages(): pin last page on non-page-aligned start

As it assumes that the mappings begin at the start of pages - something that
isn't necessarily true on NOMMU systems.  On NOMMU systems, it is possible for
a mapping to only occupy part of the page, and not necessarily touch either end
of it; in fact it's also possible for multiple non-overlapping mappings to
coexist on one page (consider direct mappings of ROMFS files, for example).

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Acked-by: default avatarSteven J. Magnani <steve@digidescorp.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 39f1cd63
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment