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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>