# 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-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 9324130f65f68433372472702ee12969340ce1c3 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig CONFIG_SMP=y # < make -s -j 48 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4174:warning: override: reassigning to symbol SMP # make -s -j 48 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0xad8f94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Completed OK # rm -rf /kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 # Build took: 0:01:46.012226