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
This commit is contained in:
Srinath Sridharan 2016-06-30 14:29:31 -07:00
parent d28edb60cd
commit 70a415f8b8
1 changed files with 0 additions and 1 deletions

View File

@ -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;