diff options
author | Wei Wang <wvw@google.com> | 2021-10-06 15:05:07 -0700 |
---|---|---|
committer | Wei Wang <wvw@google.com> | 2021-10-08 21:13:54 +0000 |
commit | 276ba2c75ba7fe79b970d05cff4fd297616b3d0c (patch) | |
tree | a5d327eeaa87cd332c120303b0bf9d19b0c02bb3 | |
parent | 220f604ca5f5b844b842a30fe40ad07dc570030f (diff) |
task_profiles: add ServicePerformance to legacy device policy
Since we are adding SCHED_SP_SYSTEM into framework, the policy is needed
on older releases as well.
Bug: 201428466
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I0784820bfec84fd8ef98f2feb2caee084d0a14a2
Merged-In: I0784820bfec84fd8ef98f2feb2caee084d0a14a2
-rw-r--r-- | libprocessgroup/profiles/task_profiles_28.json | 13 | ||||
-rw-r--r-- | libprocessgroup/profiles/task_profiles_29.json | 13 | ||||
-rw-r--r-- | libprocessgroup/profiles/task_profiles_30.json | 13 |
3 files changed, 39 insertions, 0 deletions
diff --git a/libprocessgroup/profiles/task_profiles_28.json b/libprocessgroup/profiles/task_profiles_28.json index 9f8378590..56053e05a 100644 --- a/libprocessgroup/profiles/task_profiles_28.json +++ b/libprocessgroup/profiles/task_profiles_28.json @@ -40,6 +40,19 @@ ] }, { + "Name": "ServicePerformance", + "Actions": [ + { + "Name": "JoinCgroup", + "Params": + { + "Controller": "schedtune", + "Path": "background" + } + } + ] + }, + { "Name": "HighPerformance", "Actions": [ { diff --git a/libprocessgroup/profiles/task_profiles_29.json b/libprocessgroup/profiles/task_profiles_29.json index 9f8378590..52279b872 100644 --- a/libprocessgroup/profiles/task_profiles_29.json +++ b/libprocessgroup/profiles/task_profiles_29.json @@ -53,6 +53,19 @@ ] }, { + "Name": "ServicePerformance", + "Actions": [ + { + "Name": "JoinCgroup", + "Params": + { + "Controller": "schedtune", + "Path": "background" + } + } + ] + }, + { "Name": "MaxPerformance", "Actions": [ { diff --git a/libprocessgroup/profiles/task_profiles_30.json b/libprocessgroup/profiles/task_profiles_30.json index 9f8378590..56053e05a 100644 --- a/libprocessgroup/profiles/task_profiles_30.json +++ b/libprocessgroup/profiles/task_profiles_30.json @@ -40,6 +40,19 @@ ] }, { + "Name": "ServicePerformance", + "Actions": [ + { + "Name": "JoinCgroup", + "Params": + { + "Controller": "schedtune", + "Path": "background" + } + } + ] + }, + { "Name": "HighPerformance", "Actions": [ { |