summaryrefslogtreecommitdiffstats
path: root/libcutils/sched_policy.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-06-29 23:50:37 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-06-29 23:50:37 +0000
commit73a6512bab85c97f3f44823b732a99cc4e1c4e43 (patch)
tree0dbfe7ec9aa115564c69562e368114fa5dcb1717 /libcutils/sched_policy.cpp
parent5d6d932a60c77bda7f796db2679bd806e2e8633d (diff)
parent5dc7736f601849fb76e00edadeb6b6a142b7a322 (diff)
downloadsystem_core-73a6512bab85c97f3f44823b732a99cc4e1c4e43.tar.gz
system_core-73a6512bab85c97f3f44823b732a99cc4e1c4e43.tar.bz2
system_core-73a6512bab85c97f3f44823b732a99cc4e1c4e43.zip
Merge "Remove more documentation for obsolete board configuration."
Diffstat (limited to 'libcutils/sched_policy.cpp')
-rw-r--r--libcutils/sched_policy.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/libcutils/sched_policy.cpp b/libcutils/sched_policy.cpp
index bc40ba94a..f733e9036 100644
--- a/libcutils/sched_policy.cpp
+++ b/libcutils/sched_policy.cpp
@@ -118,7 +118,6 @@ static int add_tid_to_cgroup(int tid, int fd)
In older releases, this was controlled by build-time configuration.
*/
-
bool cpusets_enabled() {
static bool enabled = (access("/dev/cpuset/tasks", F_OK) == 0);
@@ -130,12 +129,8 @@ bool cpusets_enabled() {
CONFIG_CGROUP_SCHEDTUNE that's in Android common Linux kernel and Linaro
Stable Kernel (LSK), but not in mainline Linux as of v4.9.
- With runtime check using the following function, build time
- variables like ENABLE_SCHEDBOOST (used in Android.mk) or schedboost
- (used in Android.bp) are not needed.
-
+ In older releases, this was controlled by build-time configuration.
*/
-
bool schedboost_enabled() {
static bool enabled = (access("/dev/stune/tasks", F_OK) == 0);