aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorZhen Ni <nizhen@uniontech.com>2022-01-28 17:50:25 +0800
committerPeter Zijlstra <peterz@infradead.org>2022-02-02 13:11:37 +0100
commitc8eaf6ac76f40f6c59fc7d056e2e08c4a57ea9c7 (patch)
treeda3e3596be1253da7ec326611367490d4c7a808c /kernel/sysctl.c
parentselftests/rseq: x86-32: use %gs segment selector for accessing rseq thread area (diff)
downloadlinux-dev-c8eaf6ac76f40f6c59fc7d056e2e08c4a57ea9c7.tar.xz
linux-dev-c8eaf6ac76f40f6c59fc7d056e2e08c4a57ea9c7.zip
sched: move autogroup sysctls into its own file
move autogroup sysctls to autogroup.c and use the new register_sysctl_init() to register the sysctl interface. Signed-off-by: Zhen Ni <nizhen@uniontech.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20220128095025.8745-1-nizhen@uniontech.com
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 5ae443b2882e..1cb7ca68cd4e 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -1750,17 +1750,6 @@ static struct ctl_table kern_table[] = {
.proc_handler = sysctl_sched_uclamp_handler,
},
#endif
-#ifdef CONFIG_SCHED_AUTOGROUP
- {
- .procname = "sched_autogroup_enabled",
- .data = &sysctl_sched_autogroup_enabled,
- .maxlen = sizeof(unsigned int),
- .mode = 0644,
- .proc_handler = proc_dointvec_minmax,
- .extra1 = SYSCTL_ZERO,
- .extra2 = SYSCTL_ONE,
- },
-#endif
#ifdef CONFIG_CFS_BANDWIDTH
{
.procname = "sched_cfs_bandwidth_slice_us",