From cd947ad761276cdaf3248df56b5ce4457d73c702 Mon Sep 17 00:00:00 2001 From: Joonwoo Park Date: Fri, 13 May 2016 14:08:40 -0700 Subject: [PATCH] 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 --- Documentation/scheduler/sched-hmp.txt | 2 +- kernel/sched/fair.c | 2 +- 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) {