Sysctl Sentinel Bloat Removal Wrapping Up In Linux 6.10

Written by Michael Larabel in Linux Kernel on 17 May 2024 at 06:12 AM EDT. 6 Comments
LINUX KERNEL
The year-long effort to removal the sysctl sentinel for clearing bloat from the kernel and allowing faster build times should be crossing the finish line in Linux 6.10.

This work is for removing 64 bytes of bloat per array by getting rid of the extra last sysctl entry at the end of each array. Dropping the sysctl sentinel should also lead to faster kernel build times.

sysctl sentinel


As I wrote about a few weeks back, dropping the sysctl sentinel bloat has been seeing various patches queued ahead of the Linux 6.10 merge window.

Now with the Linux 6.10 merge window upon us, Joel Granados of Samsung sent out the sysctl changes for v6.10 and explained:
"Removed sentinel elements from ctl_table structs in kernel/*

Removing sentinels in ctl_table arrays reduces the build time size and runtime memory consumed by ~64 bytes per array. Removals for net/, io_uring/, mm/, ipc/ and security/ are set to go into mainline through their respective subsystems making the next release the most likely place where the final series that removes the check for proc_name == NULL will land. This PR adds to removals already in arch/, drivers/ and fs/."

Hoorah! The work can be found in this pull request.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week