While reading mlock()- and mm_populate()-related code, I've found several things confusing. This patchset cleanup the codepath for future readers.
Kirill A. Shutemov (4): mm: rename FOLL_MLOCK to FOLL_POPULATE mm: rename __mlock_vma_pages_range() to populate_vma_page_range() mm: move gup() -> posix mlock() error conversion out of __mm_populate mm: move mm_populate()-related code to mm/gup.c Documentation/vm/unevictable-lru.txt | 26 +++---- include/linux/mm.h | 2 +- mm/gup.c | 124 ++++++++++++++++++++++++++++++++- mm/huge_memory.c | 2 +- mm/internal.h | 2 +- mm/mlock.c | 131 +++-------------------------------- mm/mmap.c | 4 +- 7 files changed, 142 insertions(+), 149 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

