Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 482b4858 authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

Merge "Remove more documentation for obsolete board configuration." am:...

Merge "Remove more documentation for obsolete board configuration." am: 73a6512b am: 09181f3d am: 94d5235c
am: f4b01412

Change-Id: Ic734799f264d40d2f8d2c0ed297bdbfe46c14b88
parents 6a0c4e97 f4b01412
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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);