diff options
author | Zhen Ni <nizhen@uniontech.com> | 2022-02-15 12:45:58 +0100 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2022-04-06 22:43:43 +0200 |
commit | f5ef06d58be8311a9425e6a54a053ecb350952f3 (patch) | |
tree | 770eec66bcbbfe1ef7d8d6722bf7c9c8c23c2524 /kernel/sysctl.c | |
parent | sched: Move child_runs_first sysctls to fair.c (diff) | |
download | linux-f5ef06d58be8311a9425e6a54a053ecb350952f3.tar.xz linux-f5ef06d58be8311a9425e6a54a053ecb350952f3.zip |
sched: Move schedstats sysctls to core.c
move schedstats sysctls to core.c and use the new
register_sysctl_init() to register the sysctl interface.
Signed-off-by: Zhen Ni <nizhen@uniontech.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | kernel/sysctl.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 6bbb8e1af675..fc0eeca20718 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -1659,17 +1659,6 @@ int proc_do_static_key(struct ctl_table *table, int write, } static struct ctl_table kern_table[] = { -#ifdef CONFIG_SCHEDSTATS - { - .procname = "sched_schedstats", - .data = NULL, - .maxlen = sizeof(unsigned int), - .mode = 0644, - .proc_handler = sysctl_schedstats, - .extra1 = SYSCTL_ZERO, - .extra2 = SYSCTL_ONE, - }, -#endif /* CONFIG_SCHEDSTATS */ #ifdef CONFIG_TASK_DELAY_ACCT { .procname = "task_delayacct", |