The patch titled Subject: mm-thp-check-total_mapcount-instead-of-page_mapcount-fix-fix has been removed from the -mm tree. Its filename was mm-thp-check-total_mapcount-instead-of-page_mapcount-fix-fix.patch This patch was dropped because it is obsolete ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-thp-check-total_mapcount-instead-of-page_mapcount-fix-fix remove unused local unmap_page():unmap_success Reported-by: kernel test robot <lkp@xxxxxxxxx> Cc: Yang Shi <shy828301@xxxxxxxxx> Cc: Zi Yan <ziy@xxxxxxxxxx> Cc: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> Cc: Wang Yugui <wangyugui@xxxxxxxxxxxx> Cc: Hugh Dickins <hughd@xxxxxxxxxx> Cc: Mike Kravetz <mike.kravetz@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/huge_memory.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/mm/huge_memory.c~mm-thp-check-total_mapcount-instead-of-page_mapcount-fix-fix +++ a/mm/huge_memory.c @@ -2348,7 +2348,6 @@ void vma_adjust_trans_huge(struct vm_are static void unmap_page(struct page *page) { enum ttu_flags ttu_flags = TTU_RMAP_LOCKED | TTU_SPLIT_HUGE_PMD; - bool unmap_success; VM_BUG_ON_PAGE(!PageHead(page), page); @@ -2360,8 +2359,7 @@ static void unmap_page(struct page *page * helps handle cases when i_size is in the middle of the page * as there is no need to unmap pages beyond i_size manually. */ - unmap_success = try_to_unmap(page, ttu_flags | - TTU_IGNORE_MLOCK); + try_to_unmap(page, ttu_flags | TTU_IGNORE_MLOCK); VM_BUG_ON_PAGE(!unmap_success, page); } _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-hugetlb-fix-resv_huge_pages-underflow-on-uffdio_copy-fix.patch mm.patch mm-slub-kunit-add-a-kunit-test-for-slub-debugging-functionality-fix-2.patch mm-gup-pack-has_pinned-in-mmf_has_pinned-checkpatch-fixes.patch mm-memcg-optimize-user-context-object-stock-access-checkpatch-fixes.patch mm-memcg-slab-create-a-new-set-of-kmalloc-cg-n-caches-v5-fix.patch binfmt-remove-in-tree-usage-of-map_executable-fix.patch mm-mmap-introduce-unlock_range-for-code-cleanup-fix.patch powerpc-mm-book3s64-update-tlb-flush-routines-to-take-a-page-walk-cache-flush-argument-fix.patch mm-mremap-use-range-flush-that-does-tlb-and-page-walk-cache-flush-fix.patch mm-memory-failure-use-a-mutex-to-avoid-memory_failure-races-fix.patch mm-memory_hotplug-disable-memmap_on_memory-when-hugetlb_free_vmemmap-enabled-fix.patch mm-userfaultfd-fix-uffd-wp-special-cases-for-fork-fix.patch mm-thp-check-total_mapcount-instead-of-page_mapcount-fix-fix-fix.patch nommu-remove-__gfp_highmem-in-vmalloc-vzalloc-checkpatch-fixes.patch mm-madvise-introduce-madv_populate_readwrite-to-prefault-page-tables-checkpatch-fixes.patch mm-rmap-make-try_to_unmap-void-function-fix.patch mm-early_ioremap-add-prototype-for-early_memremap_pgprot_adjust-fix.patch kernelh-split-out-panic-and-oops-helpers-fix.patch lib-math-rational-add-kunit-test-cases-fix.patch lib-decompressors-remove-set-but-not-used-variabled-level-fix.patch linux-next-pre.patch linux-next-post.patch mm-introduce-memfd_secret-system-call-to-create-secret-memory-areas-fix.patch module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix.patch module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch