diff options
| author | Tim Murray <timmurray@google.com> | 2016-06-24 10:19:18 -0700 |
|---|---|---|
| committer | c457 <android.c357@gmail.com> | 2017-02-03 01:48:22 -0600 |
| commit | 45a09d2261c5f5c8a92db52059bbed28886d081c (patch) | |
| tree | c18c0cf9c21fb9cb4e5ba6bbf4e38c5c68361ce7 | |
| parent | 2e27cfa7cd1c05f8783e1705ed15072a99a0d16d (diff) | |
axon7: add camera-daemon cpuset
cameraserver needs to live in its own cpuset on M/S.
Change-Id: I1f04ed17d52dffb29d8b379e387c07d0f6ab3ea6
| -rw-r--r-- | rootdir/etc/init.qcom.power.rc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index 13abc91..fed05a3 100644 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -6,6 +6,15 @@ on boot write /dev/cpuset/system-background/cpus 0-3 write /dev/cpuset/top-app/cpus 0-3 + # add a cpuset for the camera daemon + # we want all cores for camera + mkdir /dev/cpuset/camera-daemon + write /dev/cpuset/camera-daemon/cpus 0-3 + write /dev/cpuset/camera-daemon/mems 0 + chown system system /dev/cpuset/camera-daemon + chown system system /dev/cpuset/camera-daemon/tasks + chmod 0664 /dev/cpuset/camera-daemon/tasks + # Enable sched boost write /proc/sys/kernel/sched_boost 1 |
