Re: [PATCH] nommu: get_user_pages(): pin last page on non-page-aligned start

From: Paul Mundt
Date: Tue Mar 02 2010 - 22:03:57 EST


On Tue, Mar 02, 2010 at 12:29:44PM -0600, Steven J. Magnani wrote:
> 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@xxxxxxxxxxxxxxx>

Looks good to me. David?

Acked-by: Paul Mundt <lethal@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/