[PATCH 1/7] memory: Remove the now superfluous sentinel element from ctl_table array

Muchun Song muchun.song at linux.dev
Sun Mar 31 20:21:25 PDT 2024



> On Mar 28, 2024, at 23:57, Joel Granados via B4 Relay <devnull+j.granados.samsung.com at kernel.org> wrote:
> 
> From: Joel Granados <j.granados at samsung.com>
> 
> This commit comes at the tail end of a greater effort to remove the
> empty elements at the end of the ctl_table arrays (sentinels) which will
> reduce the overall build time size of the kernel and run time memory
> bloat by ~64 bytes per sentinel (further information Link :
> https://lore.kernel.org/all/ZO5Yx5JFogGi%2FcBo@bombadil.infradead.org/)
> 
> Remove sentinel from all files under mm/ that register a sysctl table.
> 
> Signed-off-by: Joel Granados <j.granados at samsung.com>

Reviewed-by: Muchun Song <muchun.song at linux.dev>

THanks.




More information about the linux-arm-kernel mailing list