diff options
author | Tim Murray <timmurray@google.com> | 2016-01-25 14:18:08 -0800 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2016-01-25 14:18:08 -0800 |
commit | f1d943458ed0fe7795d4b5dcab5ab08ee702fae3 (patch) | |
tree | 4cb8c0bf61b631c8ab27942dd938c7a2ea3cd99b /init.angler.rc | |
parent | eb6914cd04a3a22d2e0a637461af34490a25748a (diff) | |
download | angler-f1d943458ed0fe7795d4b5dcab5ab08ee702fae3.tar.gz |
Add support for top-app cpuset.
Reserves core 3 for the top app.
Change-Id: I835623c2e803eb73897e665f116552ab30e5cb5f
Diffstat (limited to 'init.angler.rc')
-rwxr-xr-x | init.angler.rc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/init.angler.rc b/init.angler.rc index 2dce9a4..c5353e6 100755 --- a/init.angler.rc +++ b/init.angler.rc @@ -74,10 +74,12 @@ on boot write /sys/module/wakelock/parameters/debug_mask 7 # update foreground cpuset now that processors are up - write /dev/cpuset/foreground/cpus 0-7 + # reserve CPU 3 for the top app + write /dev/cpuset/foreground/cpus 0-2,4-7 write /dev/cpuset/foreground/boost/cpus 4-7 write /dev/cpuset/background/cpus 0 - write /dev/cpuset/system-background/cpus 0-3 + write /dev/cpuset/system-background/cpus 0-2 + write /dev/cpuset/top-app/cpus 0-7 # setup permissions for fb0 related nodes chown radio radio /sys/class/graphics/fb0/dynamic_dsitiming |