diff options
| author | Morten Rasmussen <morten.rasmussen@arm.com> | 2015-01-13 13:45:51 +0000 |
|---|---|---|
| committer | Leo Yan <leo.yan@linaro.org> | 2016-05-10 16:49:50 +0800 |
| commit | e496f328c87173fe188e91c6cd60197fb8e7e305 (patch) | |
| tree | 5bce27d4f8cb6334c3547d7084b9ad96f213c331 /include/linux | |
| parent | d8c8088f41033b1cea9d88149046e1f8bdb9ade0 (diff) | |
sched: Make energy awareness a sched feature
This patch introduces the ENERGY_AWARE sched feature, which is
implemented using jump labels when SCHED_DEBUG is defined. It is
statically set false when SCHED_DEBUG is not defined. Hence this doesn't
allow energy awareness to be enabled without SCHED_DEBUG. This
sched_feature knob will be replaced later with a more appropriate
control knob when things have matured a bit.
ENERGY_AWARE is based on per-entity load-tracking hence FAIR_GROUP_SCHED
must be enable. This dependency isn't checked at compile time yet.
cc: Ingo Molnar <mingo@redhat.com>
cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Morten Rasmussen <morten.rasmussen@arm.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
