diff options
author | Tim Murray <timmurray@google.com> | 2015-06-22 14:00:56 -0700 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2015-06-22 14:00:56 -0700 |
commit | 999102664c4aa752d7e90c7c5ec5da9e1d648ac9 (patch) | |
tree | c80cec8e99b4e213c000146a56dcd28024854fc2 /libcutils | |
parent | 1cddc2092f544c5eac339e59746436facfdd5dc7 (diff) | |
download | system_core-999102664c4aa752d7e90c7c5ec5da9e1d648ac9.zip system_core-999102664c4aa752d7e90c7c5ec5da9e1d648ac9.tar.gz system_core-999102664c4aa752d7e90c7c5ec5da9e1d648ac9.tar.bz2 |
Don't set cgroup policy when updating cpusets.
bug 21782794
Change-Id: I3b2cf8ae4f3ed0c14f206584ae7fa2b1a1d11ad0
Diffstat (limited to 'libcutils')
-rw-r--r-- | libcutils/sched_policy.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libcutils/sched_policy.c b/libcutils/sched_policy.c index a7ff85e..cf50ba7 100644 --- a/libcutils/sched_policy.c +++ b/libcutils/sched_policy.c @@ -269,10 +269,7 @@ int set_cpuset_policy(int tid, SchedPolicy policy) return -errno; } - // we do both setting of cpuset and setting of cgroup - // ensures that backgrounded apps are actually deprioritized - // including on core 0 - return set_sched_policy(tid, policy); + return 0; #endif } |