Re: [PATCH] mm: tidy up follow_hugetlb_page() and get_user_pages()

From: Andrew Morton
Date: Tue Feb 12 2008 - 02:49:17 EST


On Tue, 12 Feb 2008 13:28:40 +0800 Eugene Teo <eugeneteo@xxxxxxxxx> wrote:

> This patch extends Jonathan Corbet's patch to avoid buffer overflows in
> get_user_pages(). It cleans up follow_hugetlb_page(), and get_user_pages() so
> that it is easier to read. It also makes sure that len and vma are validated.

We'd prefer that the functional change not be bundled with a (large) cleanup, please.
--
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/