From 70a415f8b877848547054eae8a63e2d63b7b6134 Mon Sep 17 00:00:00 2001 From: Srinath Sridharan Date: Thu, 30 Jun 2016 14:29:31 -0700 Subject: [PATCH] Not dynamically add system-background tasks to bg_schedboost_fd. System-background tasks can be either in bg_schedboost_fd or fg_schedboost_fd. It is better to set the right cgroup via init.rc and not dynamically in set_cpuset_policy. BUG: 29533997 BUG: 29512132 Change-Id: If5dab78eafbe2d0d03fd7fd3f36d794cb4a7645f --- libcutils/sched_policy.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libcutils/sched_policy.c b/libcutils/sched_policy.c index 2b21efefe..ac12f2eab 100644 --- a/libcutils/sched_policy.c +++ b/libcutils/sched_policy.c @@ -302,7 +302,6 @@ int set_cpuset_policy(int tid, SchedPolicy policy) break; case SP_SYSTEM: fd = system_bg_cpuset_fd; - boost_fd = bg_schedboost_fd; break; default: boost_fd = fd = -1;