From 999102664c4aa752d7e90c7c5ec5da9e1d648ac9 Mon Sep 17 00:00:00 2001 From: Tim Murray Date: Mon, 22 Jun 2015 14:00:56 -0700 Subject: [PATCH] Don't set cgroup policy when updating cpusets. bug 21782794 Change-Id: I3b2cf8ae4f3ed0c14f206584ae7fa2b1a1d11ad0 --- libcutils/sched_policy.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libcutils/sched_policy.c b/libcutils/sched_policy.c index a7ff85ed7..cf50ba7ad 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 }