summaryrefslogtreecommitdiff
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorTodd Kjos <tkjos@google.com>2016-02-26 17:35:50 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-02-26 17:35:50 +0000
commitd125f6e8a95a998d74175df49d54251489723933 (patch)
treee888f1046468e5f97892121dcb1eaec81d461a3d /rootdir/init.rc
parent1e86e1ba1acfec7a16cdad8ab87f262e7bfc3e52 (diff)
parent11cde567a8fd6fd37cd462e24dd97d0f57bb12a4 (diff)
Merge "Mount schedTune cgroup as /dev/stune" into nyc-dev
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc18
1 files changed, 9 insertions, 9 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 3c88d31e0..3428417f6 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -44,15 +44,15 @@ on init
mkdir /acct/uid
# Create energy-aware scheduler tuning nodes
- mkdir /sys/fs/cgroup/stune
- mount cgroup none /sys/fs/cgroup/stune schedtune
- mkdir /sys/fs/cgroup/stune/foreground
- chown system system /sys/fs/cgroup/stune
- chown system system /sys/fs/cgroup/stune/foreground
- chown system system /sys/fs/cgroup/stune/tasks
- chown system system /sys/fs/cgroup/stune/foreground/tasks
- chmod 0664 /sys/fs/cgroup/stune/tasks
- chmod 0664 /sys/fs/cgroup/stune/foreground/tasks
+ mkdir /dev/stune
+ mount cgroup none /dev/stune schedtune
+ mkdir /dev/stune/foreground
+ chown system system /dev/stune
+ chown system system /dev/stune/foreground
+ chown system system /dev/stune/tasks
+ chown system system /dev/stune/foreground/tasks
+ chmod 0664 /dev/stune/tasks
+ chmod 0664 /dev/stune/foreground/tasks
# Mount staging areas for devices managed by vold
# See storage config details at http://source.android.com/tech/storage/