Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b67d1f4e authored by Joonwoo Park's avatar Joonwoo Park
Browse files

sched: set HMP scheduler's default initial task load to 100%



Set init_task_load to 100% to allow new tasks to wake up on the best
performance CPUs.

Change-Id: Ie762a3f629db554fb5cfa8c1d7b8b2391badf573
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 783ec9cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1260,7 +1260,7 @@ tasks - they may be woken up on busy CPUs.

Appears at: /proc/sys/kernel/sched_init_task_load

Default value: 15
Default value: 100

This tunable is a percentage. When a task is first created it has no
history, so the task load tracking mechanism cannot determine a
+1 −1
Original line number Diff line number Diff line
@@ -2442,7 +2442,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 = 15;
unsigned int __read_mostly sysctl_sched_init_task_load_pct = 100;

static inline unsigned int task_load(struct task_struct *p)
{