summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMorten Rasmussen <morten.rasmussen@arm.com>2015-01-13 13:45:51 +0000
committerLeo Yan <leo.yan@linaro.org>2016-05-10 16:49:50 +0800
commite496f328c87173fe188e91c6cd60197fb8e7e305 (patch)
tree5bce27d4f8cb6334c3547d7084b9ad96f213c331 /include/linux
parentd8c8088f41033b1cea9d88149046e1f8bdb9ade0 (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