init: relax background cpuset to all LC

Bug: 253522264
Test: build, boot and check cpuset
Change-Id: I9a397628769a039e111e7ed1b1063f9b9bfaae2c
This commit is contained in:
Kyle Lin 2022-10-14 10:49:43 +08:00
parent 5dd9b6051f
commit 9a32da8563

View file

@ -97,6 +97,9 @@ on property:vendor.device.modules.ready=1
on property:sys.boot_completed=1
trigger override-sf-uclamp
on property:vendor.powerhal.init=*
write /dev/cpuset/background/cpus ${persist.device_config.vendor_system_native.background_cpuset:-0-3}
on override-sf-uclamp
write /proc/vendor_sched/rt_uclamp_min 0
write /proc/vendor_sched/sf_uclamp_min 0