Skip to contentSkip to conversation

+ mm-move-get_user_pages-related-code-to-separate-file.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Apr 18, 2014

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: + mm-move-get_user_pages-related-code-to-separate-file.patch added to -mm tree
To: [email protected]
From: [email protected]
Date: Fri, 18 Apr 2014 15:15:57 -0700

The patch titled
Subject: mm: move get_user_pages()-related code to separate file
has been added to the -mm tree. Its filename is
mm-move-get_user_pages-related-code-to-separate-file.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-move-get_user_pages-related-code-to-separate-file.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-move-get_user_pages-related-code-to-separate-file.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: "Kirill A. Shutemov" <[email protected]>
Subject: mm: move get_user_pages()-related code to separate file

mm/memory.c is overloaded: over 4k lines. get_user_pages() code is pretty much self-contained let's move it to separate file.

No other changes made.

---

 mm/Makefile |    2 
 mm/gup.c    |  614 ++++++++++++++++++++++++++++++++++++++++++++++++
 mm/memory.c |  631 --------------------------------------------------
 3 files changed, 615 insertions(+), 632 deletions(-)
mm/Makefile renamed from mm/Makefile~mm-move-get_user_pages-related-code-to-separate-file +1 -1
diff -puN mm/Makefile~mm-move-get_user_pages-related-code-to-separate-file mm/Makefile
@@ -3,7 +3,7 @@
 #
 
 mmu-y			:= nommu.o
-mmu-$(CONFIG_MMU)	:= fremap.o highmem.o madvise.o memory.o mincore.o \
+mmu-$(CONFIG_MMU)	:= fremap.o gup.o highmem.o madvise.o memory.o mincore.o \
 			   mlock.o mmap.o mprotect.o mremap.o msync.o rmap.o \
 			   vmalloc.o pagewalk.o pgtable-generic.o
 
mm/gup.c new file +614 -0

614 lines not on this page · raw message

mm/memory.c renamed from mm/memory.c~mm-move-get_user_pages-related-code-to-separate-file +0 -631

637 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are

thp-close-race-between-split-and-zap-huge-pages.patch pagewalk-update-page-table-walker-core.patch pagewalk-add-walk_page_vma.patch smaps-redefine-callback-functions-for-page-table-walker.patch clear_refs-redefine-callback-functions-for-page-table-walker.patch pagemap-redefine-callback-functions-for-page-table-walker.patch numa_maps-redefine-callback-functions-for-page-table-walker.patch memcg-redefine-callback-functions-for-page-table-walker.patch arch-powerpc-mm-subpage-protc-use-walk_page_vma-instead-of-walk_page_range.patch pagewalk-remove-argument-hmask-from-hugetlb_entry.patch mempolicy-apply-page-table-walker-on-queue_pages_range.patch mm-introduce-do_shared_fault-and-drop-do_fault-fix-fix.patch thp-consolidate-assert-checks-in-__split_huge_page.patch mm-huge_memoryc-complete-conversion-to-pr_foo.patch mm-pass-vm_bug_on-reason-to-dump_page.patch mm-pass-vm_bug_on-reason-to-dump_page-fix.patch hugetlb-prep_compound_gigantic_page-drop-__init-marker.patch hugetlb-add-hstate_is_gigantic.patch hugetlb-update_and_free_page-dont-clear-pg_reserved-bit.patch hugetlb-move-helpers-up-in-the-file.patch hugetlb-add-support-for-gigantic-page-allocation-at-runtime.patch mm-move-get_user_pages-related-code-to-separate-file.patch mm-extract-in_gate_area-case-from-__get_user_pages.patch mm-cleanup-follow_page_mask.patch mm-extract-code-to-fault-in-a-page-from-__get_user_pages.patch mm-cleanup-__get_user_pages.patch do_shared_fault-check-that-mmap_sem-is-held.patch