Thread (24 messages) 24 messages, 3 authors, 2025-02-05
STALE484d
Revisions (7)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 [diff vs current]
  5. v4 [diff vs current]
  6. v4 [diff vs current]
  7. v5 current

[PATCH v5 -next 15/16] sysctl: remove the vm_table

From: Kaixiong Yu <hidden>
Date: 2025-01-11 07:13:13
Also in: linux-fsdevel, linux-mm, linux-nfs, linux-sh, lkml, netdev
Subsystem: proc sysctl, the rest · Maintainers: Kees Cook, Joel Granados, Linus Torvalds

After patch1~14 is applied, all sysctls of vm_table
would be moved. So, delete vm_table.

Signed-off-by: Kaixiong Yu <redacted>
---
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help