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

Commit a2a7af25 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents d0b427aa b67d1f4e
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)
{