summaryrefslogtreecommitdiff
path: root/mm/compaction.c
diff options
context:
space:
mode:
authorJoel Granados <j.granados@samsung.com>2024-03-28 18:57:48 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-04-26 06:56:32 +0300
commit7998df0b6407da65a0fe8325d6ff239c4e14ff7d (patch)
treef66da4a9de9ac5d81cf318b07f97738809ab2906 /mm/compaction.c
parente0abfbb67142448d57d7841b749d35981a0b92c7 (diff)
downloadlinux-7998df0b6407da65a0fe8325d6ff239c4e14ff7d.tar.xz
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%2FcBo@bombadil.infradead.org/) Remove sentinel from all files under mm/ that register a sysctl table. Link: https://lkml.kernel.org/r/20240328-jag-sysctl_remset_misc-v1-1-47c1463b3af2@samsung.com Signed-off-by: Joel Granados <j.granados@samsung.com> Reviewed-by: Muchun Song <muchun.song@linux.dev> Reviewed-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/compaction.c')
-rw-r--r--mm/compaction.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/compaction.c b/mm/compaction.c
index 70b01190d2f3..e731d45befc7 100644
--- a/mm/compaction.c
+++ b/mm/compaction.c
@@ -3350,7 +3350,6 @@ static struct ctl_table vm_compaction[] = {
.extra1 = SYSCTL_ZERO,
.extra2 = SYSCTL_ONE,
},
- { }
};
static int __init kcompactd_init(void)