Google wants to extend compiler optimizations to Linux kernel modules, not just the main system image. The proposal, presented by the company's engineers at the Linux Plumbers Conference 2026, covers three LLVM-based techniques and aims to improve performance on Google's servers and Android devices.

Psst!Add AlexTech.ai asPreferred Source on Google

The techniques are PGO, AutoFDO and Propeller. PGO, or Profile Guided Optimization, uses information collected while a program runs to guide the compiler. AutoFDO derives execution profiles through hardware sampling; Propeller also uses profile data to guide code layout. In all three cases, the goal is to produce code better suited to real workloads.

Modules need their own build path

The Linux kernel is the operating system's central component, while modules are pieces of code that can be loaded separately, for example to handle hardware or specific functions. Applying profile-guided optimizations to them therefore requires a separate path from the one used to build the main image.

Google's presentation describes the changes needed to the build pipeline: the process must collect profiles during execution and then feed them into module compilation. To simplify these steps, the engineers propose a unified interface in Kbuild, the system that manages kernel compilation. The aim is to make it easier to generate and use profile data for different modules.

The technical hurdles are already visible in patches discussed on the kernel development mailing list. One Kbuild change disables AutoFDO and Propeller options for modules because those modes do not yet support them. The patch says the flags can be re-enabled once module support is ready: leaving them on today does not mean modules are being optimized correctly.

PGO faces an earlier rejection

The module work accompanies a request to bring PGO into the kernel's mainline tree, so that the feature becomes part of the project's officially maintained code. Linus Torvalds has already rejected integrating PGO into the main kernel. Google's proposal therefore faces both the technical challenge of module support and the question of acceptance into the upstream project, meaning the kernel's main development branch.

The interest in these optimizations also draws on results Google presented earlier. In a 2024 paper, the company described improvements from optimizing the kernel with profile-guided techniques, both on microbenchmarks and on large-scale applications. A later patch update cited performance improvements of 2 to 10 percent for Linux systems, attributed to the combined use of AutoFDO and Propeller. That figure concerns the earlier work; it does not measure results from the new module proposal.

If support is completed and accepted, the optimizations could reach kernel components that currently sit outside these build paths. Google sees potential benefits for its server infrastructure and Android; the next concrete step is to develop the support presented at the conference and submit it for review by the kernel community.