Hulk 6.6 did not use OPTIMIZE_INLINING. It used the gnu_inline attribute, which caused the inline functions to not be actually inlined, introducing performance issues. Therefore, we set it to be editable (disabled by default) and made adjustments to some functions that had linking conflicts.
Guo Xuenan (2):
Revert "compiler: remove CONFIG_OPTIMIZE_INLINING entirely"
make OPTIMIZE_INLINING config editable
arch/arm64/kvm/sys_regs.h | 4 +--
arch/x86/configs/i386_defconfig | 1 +
arch/x86/configs/x86_64_defconfig | 1 +
.../net/ethernet/mellanox/mlx5/core/health.c | 25 +++++++++++++++++++
.../ethernet/mellanox/mlx5/core/mlx5_core.h | 24 ------------------
.../pci/hive_isp_css_include/print_support.h | 2 +-
include/linux/compiler_types.h | 19 ++++++++++++++
include/trace/trace_events.h | 2 +-
kernel/configs/tiny.config | 1 +
lib/Kconfig.debug | 13 ++++++++++
10 files changed, 64 insertions(+), 28 deletions(-)
--
2.34.1