From 276ba2c75ba7fe79b970d05cff4fd297616b3d0c Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Wed, 6 Oct 2021 15:05:07 -0700 Subject: [PATCH] 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 Change-Id: I0784820bfec84fd8ef98f2feb2caee084d0a14a2 Merged-In: I0784820bfec84fd8ef98f2feb2caee084d0a14a2 --- libprocessgroup/profiles/task_profiles_28.json | 13 +++++++++++++ libprocessgroup/profiles/task_profiles_29.json | 13 +++++++++++++ libprocessgroup/profiles/task_profiles_30.json | 13 +++++++++++++ 3 files changed, 39 insertions(+) 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 @@ -39,6 +39,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 @@ -52,6 +52,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 @@ -39,6 +39,19 @@ } ] }, + { + "Name": "ServicePerformance", + "Actions": [ + { + "Name": "JoinCgroup", + "Params": + { + "Controller": "schedtune", + "Path": "background" + } + } + ] + }, { "Name": "HighPerformance", "Actions": [