sched/sysctl: Remove unused sched_time_avg_ms sysctl
/proc/sys/kernel/sched_time_avg_ms entry is not used anywhere, remove it. Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Luis R. Rodriguez <mcgrof@kernel.org> Cc: Kees Cook <keescook@chromium.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Morten.Rasmussen@arm.com Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: claudio@evidence.eu.com Cc: daniel.lezcano@linaro.org Cc: dietmar.eggemann@arm.com Cc: joel@joelfernandes.org Cc: juri.lelli@redhat.com Cc: luca.abeni@santannapisa.it Cc: patrick.bellasi@arm.com Cc: quentin.perret@arm.com Cc: rjw@rjwysocki.net Cc: valentin.schneider@arm.com Cc: viresh.kumar@linaro.org Link: http://lkml.kernel.org/r/1530200714-4504-12-git-send-email-vincent.guittot@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
Родитель
bbb62c0b02
Коммит
5fd778915a
|
@ -40,7 +40,6 @@ extern unsigned int sysctl_numa_balancing_scan_size;
|
||||||
#ifdef CONFIG_SCHED_DEBUG
|
#ifdef CONFIG_SCHED_DEBUG
|
||||||
extern __read_mostly unsigned int sysctl_sched_migration_cost;
|
extern __read_mostly unsigned int sysctl_sched_migration_cost;
|
||||||
extern __read_mostly unsigned int sysctl_sched_nr_migrate;
|
extern __read_mostly unsigned int sysctl_sched_nr_migrate;
|
||||||
extern __read_mostly unsigned int sysctl_sched_time_avg;
|
|
||||||
|
|
||||||
int sched_proc_update_handler(struct ctl_table *table, int write,
|
int sched_proc_update_handler(struct ctl_table *table, int write,
|
||||||
void __user *buffer, size_t *length,
|
void __user *buffer, size_t *length,
|
||||||
|
|
|
@ -46,14 +46,6 @@ const_debug unsigned int sysctl_sched_features =
|
||||||
*/
|
*/
|
||||||
const_debug unsigned int sysctl_sched_nr_migrate = 32;
|
const_debug unsigned int sysctl_sched_nr_migrate = 32;
|
||||||
|
|
||||||
/*
|
|
||||||
* period over which we average the RT time consumption, measured
|
|
||||||
* in ms.
|
|
||||||
*
|
|
||||||
* default: 1s
|
|
||||||
*/
|
|
||||||
const_debug unsigned int sysctl_sched_time_avg = MSEC_PER_SEC;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* period over which we measure -rt task CPU usage in us.
|
* period over which we measure -rt task CPU usage in us.
|
||||||
* default: 1s
|
* default: 1s
|
||||||
|
|
|
@ -1713,7 +1713,6 @@ extern void deactivate_task(struct rq *rq, struct task_struct *p, int flags);
|
||||||
|
|
||||||
extern void check_preempt_curr(struct rq *rq, struct task_struct *p, int flags);
|
extern void check_preempt_curr(struct rq *rq, struct task_struct *p, int flags);
|
||||||
|
|
||||||
extern const_debug unsigned int sysctl_sched_time_avg;
|
|
||||||
extern const_debug unsigned int sysctl_sched_nr_migrate;
|
extern const_debug unsigned int sysctl_sched_nr_migrate;
|
||||||
extern const_debug unsigned int sysctl_sched_migration_cost;
|
extern const_debug unsigned int sysctl_sched_migration_cost;
|
||||||
|
|
||||||
|
|
|
@ -368,14 +368,6 @@ static struct ctl_table kern_table[] = {
|
||||||
.mode = 0644,
|
.mode = 0644,
|
||||||
.proc_handler = proc_dointvec,
|
.proc_handler = proc_dointvec,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
.procname = "sched_time_avg_ms",
|
|
||||||
.data = &sysctl_sched_time_avg,
|
|
||||||
.maxlen = sizeof(unsigned int),
|
|
||||||
.mode = 0644,
|
|
||||||
.proc_handler = proc_dointvec_minmax,
|
|
||||||
.extra1 = &one,
|
|
||||||
},
|
|
||||||
#ifdef CONFIG_SCHEDSTATS
|
#ifdef CONFIG_SCHEDSTATS
|
||||||
{
|
{
|
||||||
.procname = "sched_schedstats",
|
.procname = "sched_schedstats",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче