summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2016-09-20 18:42:22 -0700
committerAmit Pundir <amit.pundir@linaro.org>2016-10-12 17:34:22 +0530
commitfc1d6c8c6a6e7353147bcb02d0236db5714804d2 (patch)
tree71b76416c0bd4829993bbed64f692f42afca6058 /init
parentca4b83c5476f68cb0ead77c23775e7ef68a37058 (diff)
sched: Add Kconfig option DEFAULT_USE_ENERGY_AWARE to set ENERGY_AWARE feature flag
The ENERGY_AWARE sched feature flag cannot be set unless CONFIG_SCHED_DEBUG is enabled. So this patch allows the flag to default to true at build time if the config is set. Change-Id: I8835a571fdb7a8f8ee6a54af1e11a69f3b5ce8e6 Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index e71e35cf723c..acb6645ffda5 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1290,6 +1290,16 @@ config SCHED_TUNE
If unsure, say N.
+config DEFAULT_USE_ENERGY_AWARE
+ bool "Default to enabling the Energy Aware Scheduler feature"
+ default n
+ help
+ This option defaults the ENERGY_AWARE scheduling feature to true,
+ as without SCHED_DEBUG set this feature can't be enabled or disabled
+ via sysctl.
+
+ Say N if unsure.
+
config SYSFS_DEPRECATED
bool "Enable deprecated sysfs features to support old userspace tools"
depends on SYSFS