# git rev-parse -q --verify 9324130f65f68433372472702ee12969340ce1c3^{commit} 9324130f65f68433372472702ee12969340ce1c3 already have revision, skipping fetch # git checkout -q -f -B kisskb 9324130f65f68433372472702ee12969340ce1c3 # git clean -qxdf # < git log -1 # commit 9324130f65f68433372472702ee12969340ce1c3 # Author: Feng Tang # Date: Thu May 6 15:34:59 2021 +0800 # # Makefile: extend 32B aligned debug option to 64B aligned # # Commit 09c60546f04f ("./Makefile: add debug option to enable # function aligned on 32 bytes") was introduced to help debugging # strange kernel performance changes caused by code alignment # change. # # Recently we found 2 similar cases [1][2] caused by code-alignment # changes, which can only be identified by forcing 64 bytes aligned # for all functions. # # Originally, 32 bytes was used mainly for not wasting too much # text space, but this option is only for debug anyway where text # space is not a big concern. So extend the alignment to 64 bytes # to cover more similar cases. # # [1].https://lore.kernel.org/lkml/20210427090013.GG32408@xsang-OptiPlex-9020/ # [2].https://lore.kernel.org/lkml/20210420030837.GB31773@xsang-OptiPlex-9020/ # Signed-off-by: Feng Tang # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 9324130f65f68433372472702ee12969340ce1c3 # < make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # < make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 # Build took: 0:02:47.048105