The quilt patch titled Subject: revert "mm: align larger anonymous mappings on THP boundaries" has been removed from the -mm tree. Its filename was revert-mm-align-larger-anonymous-mappings-on-thp-boundaries.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: revert "mm: align larger anonymous mappings on THP boundaries" Date: Thu Dec 1 01:22:56 PM PST 2022 Several testers are seeing large slowdowns from this commit. The reasons for this are unclear. Revert it from 6.1-rcX so this can be better examined. Fixes: f35b5d7d676e ("mm: align larger anonymous mappings on THP boundaries") Reported-by: kernel test robot <yujie.liu@xxxxxxxxx> Link: https://lkml.kernel.org/r/202210181535.7144dd15-yujie.liu@xxxxxxxxx Reported-by: Nathan Chancellor <nathan@xxxxxxxxxx> Link: https://lkml.kernel.org/r/Y1DNQaoPWxE+rGce@dev-arch.thelio-3990X Reported-by: Thorsten Leemhuis <regressions@xxxxxxxxxxxxx> Link: https://lkml.kernel.org/r/e919e5a3-1118-043e-8bbd-5ee35f2ab411@xxxxxxxxxxxxx Acked-by: Yang Shi <shy828301@xxxxxxxxx> Cc: Feng Tang <feng.tang@xxxxxxxxx> Cc: "Huang, Ying" <ying.huang@xxxxxxxxx> Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx> Cc: Rik van Riel <riel@xxxxxxxxxxx> Cc: Xing Zhengjun <zhengjun.xing@xxxxxxxxxxxxxxx> Cc: "Yin, Fengwei" <fengwei.yin@xxxxxxxxx> Cc: Yujie Liu <yujie.liu@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/mmap.c | 3 --- 1 file changed, 3 deletions(-) --- a/mm/mmap.c~revert-mm-align-larger-anonymous-mappings-on-thp-boundaries +++ a/mm/mmap.c @@ -1779,9 +1779,6 @@ get_unmapped_area(struct file *file, uns */ pgoff = 0; get_area = shmem_get_unmapped_area; - } else if (IS_ENABLED(CONFIG_TRANSPARENT_HUGEPAGE)) { - /* Ensures that larger anonymous mappings are THP aligned. */ - get_area = thp_get_unmapped_area; } addr = get_area(file, addr, len, pgoff, flags); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-gup-remove-foll_migration-fix.patch fsdax-zero-the-edges-if-source-is-hole-or-unwritten-fix.patch mm-disable-top-tier-fallback-to-reclaim-on-proactive-reclaim-fix.patch