Subject: + mm-implement-map_pages-for-shmem-tmpfs.patch added to -mm tree To: quning@xxxxxxxxxx,dave.hansen@xxxxxxxxxxxxxxx,david@xxxxxxxxxxxxx,hughd@xxxxxxxxxx,kirill@xxxxxxxxxxxxx,mgorman@xxxxxxx,riel@xxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Thu, 13 Mar 2014 15:36:24 -0700 The patch titled Subject: mm: implement ->map_pages for shmem/tmpfs has been added to the -mm tree. Its filename is mm-implement-map_pages-for-shmem-tmpfs.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-implement-map_pages-for-shmem-tmpfs.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-implement-map_pages-for-shmem-tmpfs.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Ning Qu <quning@xxxxxxxxxx> Subject: mm: implement ->map_pages for shmem/tmpfs In shmem/tmpfs, we also use the generic filemap_map_pages, seems the additional checking is not worth a separate version of map_pages for it. Signed-off-by: Ning Qu <quning@xxxxxxxxxx> Acked-by: Hugh Dickins <hughd@xxxxxxxxxx> Cc: "Kirill A. Shutemov" <kirill@xxxxxxxxxxxxx> Cc: Mel Gorman <mgorman@xxxxxxx> Cc: Rik van Riel <riel@xxxxxxxxxx> Cc: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx> Cc: Dave Chinner <david@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/shmem.c | 1 + 1 file changed, 1 insertion(+) diff -puN mm/shmem.c~mm-implement-map_pages-for-shmem-tmpfs mm/shmem.c --- a/mm/shmem.c~mm-implement-map_pages-for-shmem-tmpfs +++ a/mm/shmem.c @@ -2723,6 +2723,7 @@ static const struct super_operations shm static const struct vm_operations_struct shmem_vm_ops = { .fault = shmem_fault, + .map_pages = filemap_map_pages, #ifdef CONFIG_NUMA .set_policy = shmem_set_policy, .get_policy = shmem_get_policy, _ Patches currently in -mm which might be from quning@xxxxxxxxxx are mm-implement-map_pages-for-page-cache-fix.patch mm-implement-map_pages-for-shmem-tmpfs.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html