aboutsummaryrefslogtreecommitdiffstats
path: root/lib/alloc_tag.c
diff options
context:
space:
mode:
authorJoel Granados <[email protected]>2024-06-04 06:29:21 +0000
committerJoel Granados <[email protected]>2024-06-13 08:50:52 +0000
commitd7a76ec87195ced6910b0ca10ca133bb316c90f5 (patch)
tree70fc6091ac3e45e52a446659907628231ff2397a /lib/alloc_tag.c
parentmm profiling: Remove superfluous sentinel element from ctl_table (diff)
downloadkernel-d7a76ec87195ced6910b0ca10ca133bb316c90f5.tar.gz
kernel-d7a76ec87195ced6910b0ca10ca133bb316c90f5.zip
sysctl: Remove check for sentinel element in ctl_table arrays
Use ARRAY_SIZE exclusively by removing the check to ->procname in the stopping criteria of the loops traversing ctl_table arrays. This commit finalizes the removal of the sentinel elements at the end of ctl_table arrays which reduces the build time size and run time memory bloat by ~64 bytes per sentinel (further information Link : https://lore.kernel.org/all/ZO5Yx5JFogGi%[email protected]/) Remove the entry->procname evaluation from the for loop stopping criteria in sysctl and sysctl_net. Signed-off-by: Joel Granados <[email protected]>
Diffstat (limited to 'lib/alloc_tag.c')
0 files changed, 0 insertions, 0 deletions