cow_user_page: fix page alignment
authorLinus Torvalds <torvalds@g5.osdl.org>
Tue, 29 Nov 2005 22:07:55 +0000 (14:07 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 29 Nov 2005 22:07:55 +0000 (14:07 -0800)
commit5d2a2dbbc1025dbf7998b9289574d9592b8f21cc
treeb4f3f45190b814b5196235c21f983fbc7878a47b
parentc9cfcddfd65735437a4cb8563d6b66a6da8a5ed6
cow_user_page: fix page alignment

High Dickins points out that the user virtual address passed to the page
fault handler isn't necessarily page-aligned.

Also, add a comment on why the copy could fail for the user address case.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/memory.c