Re: [PATCH 4/4] mm: move mm_populate()-related code to mm/gup.c

From: David Rientjes
Date: Wed Feb 11 2015 - 15:00:23 EST


On Wed, 11 Feb 2015, Kirill A. Shutemov wrote:

> It's odd that we have populate_vma_page_range() and __mm_populate() in
> mm/mlock.c. It's implementation of generic memory population and
> mlocking is one of possible side effect, if VM_LOCKED is set.
>
> __get_user_pages() is core of the implementation. Let's move the code
> mm/gup.c.
>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>

Nice cleanup!
--
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/