summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorSteve Muckle <smuckle@codeaurora.org>2014-07-24 18:12:44 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 19:59:58 -0700
commite9e5d9a8ca4fedf612945dcb3b335ebe2bfebb55 (patch)
tree80e4aff3db82037010f11171200786729f566da4 /kernel
parent75166225073f9bfaefdc740c5c4fe2064cb33c77 (diff)
sched: set initial task load to just above a small task
To maximize power savings, set the intial load of newly created tasks to just above a small task. Setting it below the small task threshold would cause new tasks to be packed which is very likely too aggressive. Change-Id: Idace26cc0252e31a5472c73534d2f5277a1e3fa4 Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/fair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 36c996bfb844..3d1ad0f45b28 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -2541,7 +2541,7 @@ static inline void decay_scaled_stat(struct sched_avg *sa, u64 periods);
/* 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;
static inline unsigned int task_load(struct task_struct *p)
{