diff options
| author | Todd Kjos <tkjos@google.com> | 2016-03-11 16:44:16 -0800 |
|---|---|---|
| committer | John Stultz <john.stultz@linaro.org> | 2016-08-10 15:15:55 -0700 |
| commit | c50cc2299cb1a9ae769c955f5dd09a9648b1600e (patch) | |
| tree | 1b1691297611a041ba2eb7c1e1f6786ff4a8c884 /include/linux | |
| parent | 4a5e890ec60d2e341fa560d8149997f5f0c48d67 (diff) | |
sched/fair: add tunable to set initial task load
The choice of initial task load upon fork has a large influence
on CPU and OPP selection when scheduler-driven DVFS is in use.
Make this tuneable by adding a new sysctl "sched_initial_task_util".
If the sched governor is not used, the default remains at SCHED_LOAD_SCALE
Otherwise, the value from the sysctl is used. This defaults to 0.
Signed-off-by: "Todd Kjos <tkjos@google.com>"
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched/sysctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched/sysctl.h b/include/linux/sched/sysctl.h index 4883dcf3e1a9..2834841c507e 100644 --- a/include/linux/sched/sysctl.h +++ b/include/linux/sched/sysctl.h @@ -41,6 +41,7 @@ extern unsigned int sysctl_sched_wakeup_granularity; extern unsigned int sysctl_sched_child_runs_first; extern unsigned int sysctl_sched_is_big_little; extern unsigned int sysctl_sched_sync_hint_enable; +extern unsigned int sysctl_sched_initial_task_util; extern unsigned int sysctl_sched_cstate_aware; enum sched_tunable_scaling { |
