[PATCH v5 -next 15/16] sysctl: remove the vm_table
Kaixiong Yu
yukaixiong at huawei.com
Sat Jan 11 07:07:50 UTC 2025
After patch1~14 is applied, all sysctls of vm_table
would be moved. So, delete vm_table.
Signed-off-by: Kaixiong Yu <yukaixiong at huawei.com>
---
v5:
- take the advice of Joel Granados, separating moving the
vdso_enabled table and removing the vm_table into two parts.
This patch removes the vm_table.
---
---
kernel/sysctl.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 21c362768358..cebd0ef5d19d 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -2012,12 +2012,9 @@ static struct ctl_table kern_table[] = {
#endif
};
-static struct ctl_table vm_table[] = {};
-
int __init sysctl_init_bases(void)
{
register_sysctl_init("kernel", kern_table);
- register_sysctl_init("vm", vm_table);
return 0;
}
--
2.34.1
More information about the Linux-security-module-archive
mailing list