diff options
| author | Srivatsa Vaddagiri <vatsa@codeaurora.org> | 2014-03-29 16:56:45 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 19:58:59 -0700 |
| commit | 77fe8dd14da1d5f1cc32382a761206e8dd4ce6da (patch) | |
| tree | 38b89b1478018fd3056b6fd75b92c89c65846adc /include/linux | |
| parent | a25a5c1c307cde7a851c1d0dd99b90f0a9e1ea28 (diff) | |
sched: Introduce CONFIG_SCHED_FREQ_INPUT
Introduce a compile time flag to enable scheduler guidance of
frequency selection. This flag is also used to turn on or off
window-based load stats feature.
Having a compile time flag will let some platforms avoid any
overhead that may be present with this scheduler feature.
Change-Id: Id8dec9839f90dcac82f58ef7e2bd0ccd0b6bd16c
Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
[rameezmustafa@codeaurora.org]: Port to msm-3.18]
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
[joonwoop@codeaurora.org: fixed minor conflict around
sysctl_timer_migration.]
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index bf4b9f5e2434..42a09f9d83bd 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1424,7 +1424,9 @@ struct task_struct { const struct sched_class *sched_class; struct sched_entity se; struct sched_rt_entity rt; +#ifdef CONFIG_SCHED_FREQ_INPUT struct ravg ravg; +#endif #ifdef CONFIG_CGROUP_SCHED struct task_group *sched_task_group; #endif |
