The patch titled Subject: mm-gup-speed-up-check_and_migrate_cma_pages-on-huge-page-fix has been added to the -mm tree. Its filename is mm-gup-speed-up-check_and_migrate_cma_pages-on-huge-page-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-gup-speed-up-check_and_migrate_cma_pages-on-huge-page-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-gup-speed-up-check_and_migrate_cma_pages-on-huge-page-fix.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/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-gup-speed-up-check_and_migrate_cma_pages-on-huge-page-fix make `i' and `step' unsigned Cc: "Aneesh Kumar K.V" <aneesh.kumar@xxxxxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Cc: Ira Weiny <ira.weiny@xxxxxxxxx> Cc: John Hubbard <jhubbard@xxxxxxxxxx> Cc: Keith Busch <keith.busch@xxxxxxxxx> Cc: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> Cc: Mike Kravetz <mike.kravetz@xxxxxxxxxx> Cc: Mike Rapoport <rppt@xxxxxxxxxxxxx> Cc: Pingfan Liu <kernelfans@xxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/gup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/mm/gup.c~mm-gup-speed-up-check_and_migrate_cma_pages-on-huge-page-fix +++ a/mm/gup.c @@ -1449,7 +1449,8 @@ static long check_and_migrate_cma_pages( struct vm_area_struct **vmas, unsigned int gup_flags) { - long i, step; + unsigned long i; + unsigned long step; bool drain_allow = true; bool migrate_allow = true; LIST_HEAD(cma_page_list); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-vmalloc-avoid-bogus-wmaybe-uninitialized-warning-fix.patch linux-kernelh-fix-overflow-for-div_round_up_ull-fix.patch scripts-spellingtxt-drop-sepc-from-the-misspelling-list-fix.patch ocfs2-add-locking-filter-debugfs-file-fix.patch ocfs2-clear-zero-in-unaligned-direct-io-checkpatch-fixes.patch mm.patch include-linux-pfn_th-remove-pfn_t_to_virt.patch mm-swap-use-rbtree-for-swap_extent-fix.patch mm-gup-speed-up-check_and_migrate_cma_pages-on-huge-page-fix.patch mm-section-numbers-use-the-type-unsigned-long-fix.patch mm-sparsemem-cleanup-section-number-data-types-fix.patch mm-vmscanc-add-checks-for-incorrect-handling-of-current-reclaim_state.patch proc-use-down_read_killable-mmap_sem-for-proc-pid-map_files-fix.patch mm-oom_killer-add-task-uid-to-info-message-on-an-oom-kill-fix.patch mm-thp-make-transhuge_vma_suitable-available-for-anonymous-thp-fix.patch vmcore-add-a-kernel-parameter-novmcoredd-fix.patch vmcore-add-a-kernel-parameter-novmcoredd-fix-fix.patch coda-add-hinting-support-for-partial-file-caching-fix.patch selftests-ptrace-add-a-test-case-for-ptrace_get_syscall_info-checkpatch-fixes.patch resource-fix-locking-in-find_next_iomem_res-fix.patch linux-next-rejects.patch proc-sysctl-add-shared-variables-for-range-check-fix-2-fix.patch drivers-tty-serial-sh-scic-suppress-warning.patch kernel-forkc-export-kernel_thread-to-modules.patch