summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonwoo Park <joonwoop@codeaurora.org>2016-05-13 14:08:40 -0700
committerJeevan Shriram <jshriram@codeaurora.org>2016-05-16 20:10:30 -0700
commitcd947ad761276cdaf3248df56b5ce4457d73c702 (patch)
tree5379262e9866c8f2dbcff269fcb0f3378284a107
parentf19d4ba1e3ffca528490dade5123667062f3f0e6 (diff)
Revert "sched: set HMP scheduler's default initial task load to 100%"
This reverts commit 28f67e5a50d7c1bfc ("sched: set HMP scheduler's default initial task load to 100%") since 100% of init task load makes too much of power inefficiency on some targets. CRs-fixed: 1006303 Change-Id: I81b4ba8fdc2e2fe1b40f18904964098fa558989b Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
-rw-r--r--Documentation/scheduler/sched-hmp.txt2
-rw-r--r--kernel/sched/fair.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/scheduler/sched-hmp.txt b/Documentation/scheduler/sched-hmp.txt
index a3d5ece0b38e..5e72fdd18fc1 100644
--- a/Documentation/scheduler/sched-hmp.txt
+++ b/Documentation/scheduler/sched-hmp.txt
@@ -1101,7 +1101,7 @@ tasks - they may be woken up on busy CPUs.
Appears at: /proc/sys/kernel/sched_init_task_load
-Default value: 100
+Default value: 15
This tunable is a percentage. When a task is first created it has no
history, so the task load tracking mechanism cannot determine a
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index aa30f55dc5ee..ec418d9cf361 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -2686,7 +2686,7 @@ enum sched_boost_type {
/* Initial task load. Newly created tasks are assigned this load. */
unsigned int __read_mostly sched_init_task_load_pelt;
unsigned int __read_mostly sched_init_task_load_windows;
-unsigned int __read_mostly sysctl_sched_init_task_load_pct = 100;
+unsigned int __read_mostly sysctl_sched_init_task_load_pct = 15;
unsigned int max_task_load(void)
{