Pong: sensors: 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 Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
This commit is contained in:
committed by
Ghosuto
parent
3a20aafd5d
commit
47127bef8a
@@ -2,6 +2,6 @@ service vendor.sensors-hal-2-1-multihal /vendor/bin/hw/android.hardware.sensors@
|
||||
class hal
|
||||
user system
|
||||
group system wakelock context_hub
|
||||
writepid /dev/cpuset/system-background/tasks
|
||||
task_profiles ServiceCapacityLow
|
||||
capabilities BLOCK_SUSPEND
|
||||
rlimit rtprio 10 10
|
||||
|
||||
Reference in New Issue
Block a user