Loading libcutils/sched_policy.cpp +1 −3 Original line number Original line Diff line number Diff line Loading @@ -124,9 +124,7 @@ static int add_tid_to_cgroup(int tid, int fd) on where init.rc mounts cpuset. That's why we'd better require this on where init.rc mounts cpuset. That's why we'd better require this configuration be set if CONFIG_CPUSETS is set. configuration be set if CONFIG_CPUSETS is set. With runtime check using the following function, build time In older releases, this was controlled by build-time configuration. variables like ENABLE_CPUSETS (used in Android.mk) or cpusets (used in Android.bp) are not needed. */ */ bool cpusets_enabled() { bool cpusets_enabled() { Loading Loading
libcutils/sched_policy.cpp +1 −3 Original line number Original line Diff line number Diff line Loading @@ -124,9 +124,7 @@ static int add_tid_to_cgroup(int tid, int fd) on where init.rc mounts cpuset. That's why we'd better require this on where init.rc mounts cpuset. That's why we'd better require this configuration be set if CONFIG_CPUSETS is set. configuration be set if CONFIG_CPUSETS is set. With runtime check using the following function, build time In older releases, this was controlled by build-time configuration. variables like ENABLE_CPUSETS (used in Android.mk) or cpusets (used in Android.bp) are not needed. */ */ bool cpusets_enabled() { bool cpusets_enabled() { Loading