Get the latest tech news

Linux 6.16 Adds 'X86_NATIVE_CPU' Option To Optimize Your Kernel Build


unixbhaskar shares a report from Phoronix: The X86_NATIVE_CPU Kconfig build time option has been merged for the Linux 6.16 merge window as an easy means of enforcing "-march=native" compiler behavior on AMD and Intel processors to optimize your kernel build for the local CPU architecture/family of y...

unixbhaskar shares a report from Phoronix: The X86_NATIVE_CPU Kconfig build time option has been merged for the Linux 6.16 merge window as an easy means of enforcing "-march=native" compiler behavior on AMD and Intel processors to optimize your kernel build for the local CPU architecture/family of your system. 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. "If the detailed benchmark shows some improvement with the option selected, then distros might start to adopt it for their flavor."

Get the Android app

Or read this on Slashdot

Read more on:

Photo of Linux

Linux

Photo of option

option

Photo of kernel

kernel

Related news:

News photo

Linux 6.16 Upstreams Support For Hardware-Wrapped Encryption Keys

News photo

Intel APX Ready With Linux 6.16, Outdated Intel CPU Microcode Reporting Merged

News photo

Zotac Zone 2 switches to Linux to be the most direct Steam Deck OLED competitor