Merge "Don't set cgroup policy when updating cpusets." into mnc-dev

This commit is contained in:
Tim Murray 2015-06-22 21:31:13 +00:00 committed by Android (Google) Code Review
commit 98c6de6926

View file

@ -269,10 +269,7 @@ int set_cpuset_policy(int tid, SchedPolicy policy)
return -errno; return -errno;
} }
// we do both setting of cpuset and setting of cgroup return 0;
// ensures that backgrounded apps are actually deprioritized
// including on core 0
return set_sched_policy(tid, policy);
#endif #endif
} }