summaryrefslogtreecommitdiffstats
path: root/libcutils/sched_policy.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-06-30 00:07:45 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-06-30 00:07:45 +0000
commitf4b01412f187d461d5164e4cb4d3c2c893c2908d (patch)
treec827a24d98148c8eb96a2e47f1782a6276747f47 /libcutils/sched_policy.cpp
parent2b49c8ceb7eb565b441258d56964c1e58a136749 (diff)
parent94d5235c25f7e42ab378c25a48205afbebb5a148 (diff)
downloadsystem_core-f4b01412f187d461d5164e4cb4d3c2c893c2908d.tar.gz
system_core-f4b01412f187d461d5164e4cb4d3c2c893c2908d.tar.bz2
system_core-f4b01412f187d461d5164e4cb4d3c2c893c2908d.zip
Merge "Remove more documentation for obsolete board configuration." am: 73a6512bab am: 09181f3dd9
am: 94d5235c25 Change-Id: I128a89de4783b152f4129d0c5f16e766ed349ea2
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 b35f512f8..b00fa8561 100644
--- a/libcutils/sched_policy.cpp
+++ b/libcutils/sched_policy.cpp
@@ -119,7 +119,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);
@@ -131,12 +130,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);