From f27b626521a14ebe9b9cfa692d59dcd72c1b4def Mon Sep 17 00:00:00 2001 From: Srivatsa Vaddagiri Date: Mon, 21 Jul 2014 08:24:04 -0700 Subject: sched: remove sysctl control for HMP and power-aware task placement There is no real need to control HMP and power-aware task placement at runtime after kernel has booted. Boot-time control should be sufficient. Not allowing for runtime (sysctl) support simplifies the code quite a bit. Also rename sysctl_sched_enable_hmp_task_placement to be shorter. Change-Id: I60cae51a173c6f73b79cbf90c50ddd41a27604aa Signed-off-by: Srivatsa Vaddagiri Signed-off-by: Syed Rameez Mustafa [joonwoop@codeaurora.org: fixed minor conflict. p->nr_cpus_allowed == 1 has moved to core.c Signed-off-by: Joonwoo Park --- include/linux/sched/sysctl.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/linux') diff --git a/include/linux/sched/sysctl.h b/include/linux/sched/sysctl.h index fde724969cd8..da06dc1a374b 100644 --- a/include/linux/sched/sysctl.h +++ b/include/linux/sched/sysctl.h @@ -53,7 +53,6 @@ extern int sysctl_sched_freq_dec_notify_slack_pct; #endif #ifdef CONFIG_SCHED_HMP -extern unsigned int sysctl_sched_enable_hmp_task_placement; extern unsigned int sysctl_sched_spill_nr_run; extern unsigned int sysctl_sched_mostly_idle_nr_run; extern unsigned int sysctl_sched_spill_load_pct; @@ -62,7 +61,6 @@ extern unsigned int sysctl_sched_small_task_pct; extern unsigned int sysctl_sched_upmigrate_pct; extern unsigned int sysctl_sched_downmigrate_pct; extern int sysctl_sched_upmigrate_min_nice; -extern unsigned int sysctl_sched_enable_power_aware; extern unsigned int sysctl_sched_powerband_limit_pct; extern unsigned int sysctl_sched_boost; -- cgit v1.2.3