diff options
| author | Elliott Hughes <enh@google.com> | 2017-06-29 08:52:49 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2017-06-29 08:52:49 -0700 |
| commit | 5dc7736f601849fb76e00edadeb6b6a142b7a322 (patch) | |
| tree | 9f386e991741459a5e6a540cacc2439dffde812e /libcutils/sched_policy.cpp | |
| parent | 9ed76f0acc65fecd0b16d597e35f809b3f588868 (diff) | |
| download | system_core-5dc7736f601849fb76e00edadeb6b6a142b7a322.tar.gz system_core-5dc7736f601849fb76e00edadeb6b6a142b7a322.tar.bz2 system_core-5dc7736f601849fb76e00edadeb6b6a142b7a322.zip | |
Remove more documentation for obsolete board configuration.
Bug: N/A
Test: builds
Change-Id: I0a4ea974a81aadba1a554072ceff9f243a70be0d
Diffstat (limited to 'libcutils/sched_policy.cpp')
| -rw-r--r-- | libcutils/sched_policy.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libcutils/sched_policy.cpp b/libcutils/sched_policy.cpp index aeb881aec..48651ba36 100644 --- a/libcutils/sched_policy.cpp +++ b/libcutils/sched_policy.cpp @@ -125,7 +125,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); @@ -137,12 +136,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); |
