Navigation
Search
|
Linux 6.16 Adds 'X86_NATIVE_CPU' Option To Optimize Your Kernel Build
Wednesday May 28, 2025. 03:25 AM , from Slashdot
![]() The CONFIG_X86_NATIVE_CPU option is honored if compiling the Linux x86_64 kernel with GCC or LLVM Clang when using Clang 19 or newer due to a compiler bug with the Linux kernel on older compiler versions. In addition to setting the '-march=native' compiler option for the Linux kernel C code, enabling this new Kconfig build option also sets '-Ctarget-cpu=native' for the kernel's Rust code too. 'It seems interesting though,' comments unixbhaskar. 'If the detailed benchmark shows some improvement with the option selected, then distros might start to adopt it for their flavor.' Read more of this story at Slashdot.
https://linux.slashdot.org/story/25/05/27/2223207/linux-616-adds-x86nativecpu-option-to-optimize-you...
Related News |
25 sources
Current Date
May, Sat 31 - 07:43 CEST
|