summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSyed Rameez Mustafa <rameezmustafa@codeaurora.org>2014-06-12 10:47:12 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 19:59:32 -0700
commita536cf8ac858ac8388272d98f9baf8e7ba25b646 (patch)
tree3d9e3a8e85c50d225d8f75a6237d40710b018b21 /include/linux
parent8e7389b5c2130b62ceafb7cc9d6a2ae00bfbcf5a (diff)
sched: Introduce spill threshold tunables to manage overcommitment
When the number of tasks intended for a cluster exceed the number of mostly idle CPUs in that cluster, the scheduler currently freely uses CPUs in other clusters if possible. While this is optimal for performance the power trade off can be quite significant. Introduce spill threshold tunables that govern the extent to which the scheduler should attempt to contain tasks within a cluster. Change-Id: I797e6c6b2aa0c3a376dad93758abe1d587663624 Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org> [rameezmustafa@codeaurora.org]: Port to msm-3.18] Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org [joonwoop@codeaurora.org: fixed conflict in nohz_kick_needed()] Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sched/sysctl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sched/sysctl.h b/include/linux/sched/sysctl.h
index b65ee06f80c9..0a6047acb5d2 100644
--- a/include/linux/sched/sysctl.h
+++ b/include/linux/sched/sysctl.h
@@ -51,13 +51,16 @@ extern unsigned int sysctl_sched_task_migrate_notify_pct;
#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;
extern unsigned int sysctl_sched_mostly_idle_load_pct;
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;
#else /* CONFIG_SCHED_HMP */