Skip to content

Commit

Permalink
Merge "Add an stune group for NNAPI HAL"
Browse files Browse the repository at this point in the history
  • Loading branch information
Treehugger Robot authored and Gerrit Code Review committed Feb 10, 2020
2 parents 8c2d4d6 + c3991a7 commit 749f34b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rootdir/init.rc
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,14 @@ on init
chmod 0664 /dev/stune/top-app/tasks
chmod 0664 /dev/stune/rt/tasks

# Create an stune group for NNAPI HAL processes
mkdir /dev/stune/nnapi-hal
chown system system /dev/stune/nnapi-hal
chown system system /dev/stune/nnapi-hal/tasks
chmod 0664 /dev/stune/nnapi-hal/tasks
write /dev/stune/nnapi-hal/schedtune.boost 1
write /dev/stune/nnapi-hal/schedtune.prefer_idle 1

# Create blkio group and apply initial settings.
# This feature needs kernel to support it, and the
# device's init.rc must actually set the correct values.
Expand Down

0 comments on commit 749f34b

Please sign in to comment.