summaryrefslogtreecommitdiff
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorTodd Kjos <tkjos@google.com>2016-02-23 09:00:36 -0800
committerTodd Kjos <tkjos@google.com>2016-02-23 09:08:54 -0800
commit11cde567a8fd6fd37cd462e24dd97d0f57bb12a4 (patch)
tree3d708a019bf7bf751cb5fcb80fa94ed7be0471cb /rootdir/init.rc
parent14ae3f2b505845cb3b478fdc965143f4177986c6 (diff)
Mount schedTune cgroup as /dev/stune
Make stune consistent with the other cgroups mounted under /dev Change-Id: I0fe7120ad2afbe8e6a3c9f72cc3f465de618d344
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 faae48efb..b18da3b5d 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/