# git rev-parse -q --verify 0ba09b1733878afe838fe35c310715fda3d46428^{commit} 0ba09b1733878afe838fe35c310715fda3d46428 already have revision, skipping fetch # git checkout -q -f -B kisskb 0ba09b1733878afe838fe35c310715fda3d46428 # git clean -qxdf # < git log -1 # commit 0ba09b1733878afe838fe35c310715fda3d46428 # Author: Linus Torvalds # Date: Sun Dec 4 12:51:59 2022 -0800 # # Revert "mm: align larger anonymous mappings on THP boundaries" # # This reverts commit f35b5d7d676e59e401690b678cd3cfec5e785c23. # # It has been reported to cause huge performance regressions on some loads # (will-it-scale.per_process_ops, but also building the kernel with # clang). # # The commit did speed up gcc builds by a small amount, so it's not an # unambiguous regression, but until the big regressions are understood, # let's revert it. # # Reported-by: kernel test robot # Link: https://lore.kernel.org/r/202210181535.7144dd15-yujie.liu@intel.com # Reported-by: Nathan Chancellor # Link: https://lore.kernel.org/lkml/Y1DNQaoPWxE%2BrGce@dev-arch.thelio-3990X/ # Cc: Huang, Ying # Cc: Rik van Riel # Cc: Andrew Morton # Cc: Yang Shi # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 0ba09b1733878afe838fe35c310715fda3d46428 # < make -s -j 24 ARCH=um O=/kisskb/build/linus_um-defconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 defconfig # < make -s -j 24 ARCH=um O=/kisskb/build/linus_um-defconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 24 ARCH=um O=/kisskb/build/linus_um-defconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig # make -s -j 24 ARCH=um O=/kisskb/build/linus_um-defconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/../lib/gcc/x86_64-buildroot-linux-gnu/12.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: warning: arch/x86/um/vdso/vdso.o: missing .note.GNU-stack section implies executable stack /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/../lib/gcc/x86_64-buildroot-linux-gnu/12.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/../lib/gcc/x86_64-buildroot-linux-gnu/12.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: warning: .tmp_vmlinux.kallsyms1 has a LOAD segment with RWX permissions /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/../lib/gcc/x86_64-buildroot-linux-gnu/12.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: warning: .tmp_vmlinux.kallsyms1.o: missing .note.GNU-stack section implies executable stack /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/../lib/gcc/x86_64-buildroot-linux-gnu/12.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/../lib/gcc/x86_64-buildroot-linux-gnu/12.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: warning: .tmp_vmlinux.kallsyms2 has a LOAD segment with RWX permissions /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/../lib/gcc/x86_64-buildroot-linux-gnu/12.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: warning: .tmp_vmlinux.kallsyms2.o: missing .note.GNU-stack section implies executable stack /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/../lib/gcc/x86_64-buildroot-linux-gnu/12.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/../lib/gcc/x86_64-buildroot-linux-gnu/12.2.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: warning: vmlinux has a LOAD segment with RWX permissions LINK linux Completed OK # rm -rf /kisskb/build/linus_um-defconfig_um-x86_64-gcc12 # Build took: 0:01:49.044071