aboutsummaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorJoel Granados <[email protected]>2024-03-28 15:57:48 +0000
committerAndrew Morton <[email protected]>2024-04-26 03:56:32 +0000
commit7998df0b6407da65a0fe8325d6ff239c4e14ff7d (patch)
treef66da4a9de9ac5d81cf318b07f97738809ab2906 /mm/hugetlb.c
parentmm: rename vma_pgoff_address back to vma_address (diff)
downloadkernel-7998df0b6407da65a0fe8325d6ff239c4e14ff7d.tar.gz
kernel-7998df0b6407da65a0fe8325d6ff239c4e14ff7d.zip
memory: remove the now superfluous sentinel element from ctl_table array
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%[email protected]/) Remove sentinel from all files under mm/ that register a sysctl table. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Joel Granados <[email protected]> Reviewed-by: Muchun Song <[email protected]> Reviewed-by: Miaohe Lin <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/hugetlb.c')
-rw-r--r--mm/hugetlb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 8af2fd48f785..10b4f8bde16f 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -5029,7 +5029,6 @@ static struct ctl_table hugetlb_table[] = {
.mode = 0644,
.proc_handler = hugetlb_overcommit_handler,
},
- { }
};
static void hugetlb_sysctl_init(void)