Pārlūkot izejas kodu

init: relax background cpuset to all LC am: 9a32da8563

Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20189050

Change-Id: Ie03bbf6e3947b3e4cdd37051a2369c20c240285b
Signed-off-by: Automerger Merge Worker <[email protected]>
Kyle Lin 2 gadi atpakaļ
vecāks
revīzija
9175a59acb
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      conf/init.lynx.rc

+ 3 - 0
conf/init.lynx.rc

@@ -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