Skip to contentSkip to conversation

sched: Remove sysctl.sched_features

tip:sched/urgent tip-bot for Peter Zijlstra 1 participant 1 message Dec 9, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Commit-ID:  6b314d0e11924c803bf8cd944e87fd58cdb5088c
Gitweb:     http://git.kernel.org/tip/6b314d0e11924c803bf8cd944e87fd58cdb5088c
Author:     Peter Zijlstra <[email protected]>
AuthorDate: Wed, 2 Dec 2009 18:58:05 +0100
Committer:  Ingo Molnar <[email protected]>
CommitDate: Wed, 9 Dec 2009 10:03:01 +0100

sched: Remove sysctl.sched_features

Since we've had a much saner debugfs interface to this, remove the sysctl one.

LKML-Reference: <new-submission>

[ v2: build fix ]
---
 include/linux/sched.h |    1 -
 kernel/sysctl.c       |    8 --------
 2 files changed, 0 insertions(+), 9 deletions(-)
include/linux/sched.h +0 -1
index 9b24027..ca72ed4 100644
@@ -1905,7 +1905,6 @@ extern unsigned int sysctl_sched_shares_ratelimit;
 extern unsigned int sysctl_sched_shares_thresh;
 extern unsigned int sysctl_sched_child_runs_first;
 #ifdef CONFIG_SCHED_DEBUG
-extern unsigned int sysctl_sched_features;
 extern unsigned int sysctl_sched_migration_cost;
 extern unsigned int sysctl_sched_nr_migrate;
 extern unsigned int sysctl_sched_time_avg;
kernel/sysctl.c +0 -8
index 4dbf93a..e5cc535 100644
@@ -316,14 +316,6 @@ static struct ctl_table kern_table[] = {
 	},
 	{
 		.ctl_name	= CTL_UNNUMBERED,
-		.procname	= "sched_features",
-		.data		= &sysctl_sched_features,
-		.maxlen		= sizeof(unsigned int),
-		.mode		= 0644,
-		.proc_handler	= &proc_dointvec,
-	},
-	{
-		.ctl_name	= CTL_UNNUMBERED,
 		.procname	= "sched_migration_cost",
 		.data		= &sysctl_sched_migration_cost,
 		.maxlen		= sizeof(unsigned int),