sm6225-common: Replace writepid with task_profiles command for cgroup migration
writepid command usage to join a cgroup has been deprecated in favor of a more flexible approach using task_profiles. This way cgroup path is not hardcoded and cgroup changes can be easily made. Replace writepid with task_profiles command to migrate between cgroups. Bug: 191283136 Test: build and boot Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I249ecc45a001a69d73b06b77154f9b6e5f9964d9
This commit is contained in:
parent
fde8c98ecb
commit
b6c60af207
1 changed files with 2 additions and 2 deletions
|
@ -557,7 +557,7 @@ service vendor.sensors-hal-2-0-multihal /vendor/bin/hw/android.hardware.sensors@
|
|||
class hal
|
||||
user system
|
||||
group system wakelock context_hub input uhid
|
||||
writepid /dev/cpuset/system-background/tasks
|
||||
task_profiles ServiceCapacityLow
|
||||
capabilities BLOCK_SUSPEND
|
||||
rlimit rtprio 10 10
|
||||
|
||||
|
@ -567,7 +567,7 @@ service vendor.sensors-hal-2-1-multihal /vendor/bin/hw/android.hardware.sensors@
|
|||
class hal
|
||||
user system
|
||||
group system wakelock context_hub input uhid
|
||||
writepid /dev/cpuset/system-background/tasks
|
||||
task_profiles ServiceCapacityLow
|
||||
capabilities BLOCK_SUSPEND
|
||||
rlimit rtprio 10 10
|
||||
|
||||
|
|
Loading…
Reference in a new issue