summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorChris Redpath <chris.redpath@arm.com>2017-10-21 16:47:56 +0100
committerChris Redpath <chris.redpath@arm.com>2017-12-19 16:51:06 +0000
commit58afaac038c8a2235552f3b69c35045ac96c7329 (patch)
treebcefbcfaa92e38de1bfc581d6d0886188baec92a /init
parent50c26fdb74563ec0cb4a83373d42667f4e83a23e (diff)
ANDROID: sched: Add KConfig option to set ENERGY_AWARE sched feature on
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. Change-Id: Ibf8e5d9d8aedf5cc8f0ef322279209ca65a9786b Signed-off-by: Chris Redpath <chris.redpath@arm.com>
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 3c1faaa2af4a..0e4f10d48d86 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -959,6 +959,16 @@ config SCHED_AUTOGROUP
desktop applications. Task group autogeneration is currently based
upon task session.
+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