mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
init: Reserve CPUs for top-app correctly in EAS 1.2
EAS v1.2 uses different search ordering in the wakeup-path. Now cores 4 and 5 will be searched first for top-app, update the cpusets accordingly: Littles Bigs 0 1 2 3 4 5 6 7 T T T T T T T T (top-app) F F F F F F (foreground) S S S S (system background) B B (background) Bug: 36367381 Change-Id: I7f70493ff45779d1c17f19465bf3eeeb8905e05b Signed-off-by: Joel Fernandes <joelaf@google.com>
This commit is contained in:
@@ -420,8 +420,8 @@ service per_proxy /vendor/bin/pm-proxy
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
write /dev/cpuset/top-app/cpus 0-7
|
||||
write /dev/cpuset/foreground/boost/cpus 0-5
|
||||
write /dev/cpuset/foreground/cpus 0-5
|
||||
write /dev/cpuset/foreground/boost/cpus 0-3,6-7
|
||||
write /dev/cpuset/foreground/cpus 0-3,6-7
|
||||
write /dev/cpuset/background/cpus 0-1
|
||||
write /dev/cpuset/system-background/cpus 0-3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user