Loading libcutils/sched_policy.c +2 −2 Original line number Diff line number Diff line Loading @@ -138,9 +138,9 @@ static void __initialize(void) { ta_cpuset_fd = open(filename, O_WRONLY | O_CLOEXEC); #ifdef USE_SCHEDBOOST filename = "/sys/fs/cgroup/stune/foreground/tasks"; filename = "/dev/stune/foreground/tasks"; fg_schedboost_fd = open(filename, O_WRONLY | O_CLOEXEC); filename = "/sys/fs/cgroup/stune/tasks"; filename = "/dev/stune/tasks"; bg_schedboost_fd = open(filename, O_WRONLY | O_CLOEXEC); #endif } Loading rootdir/init.rc +9 −9 Original line number Diff line number Diff line Loading @@ -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/ Loading rootdir/init.zygote32.rc +1 −1 Original line number Diff line number Diff line Loading @@ -7,4 +7,4 @@ service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-sys onrestart restart cameraserver onrestart restart media onrestart restart netd writepid /dev/cpuset/foreground/tasks /sys/fs/cgroup/stune/foreground/tasks writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks rootdir/init.zygote32_64.rc +1 −1 Original line number Diff line number Diff line Loading @@ -13,4 +13,4 @@ service zygote_secondary /system/bin/app_process64 -Xzygote /system/bin --zygote class main socket zygote_secondary stream 660 root system onrestart restart zygote writepid /dev/cpuset/foreground/tasks /sys/fs/cgroup/stune/foreground/tasks writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks rootdir/init.zygote64.rc +1 −1 Original line number Diff line number Diff line Loading @@ -7,4 +7,4 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s onrestart restart cameraserver onrestart restart media onrestart restart netd writepid /dev/cpuset/foreground/tasks /sys/fs/cgroup/stune/foreground/tasks writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks Loading
libcutils/sched_policy.c +2 −2 Original line number Diff line number Diff line Loading @@ -138,9 +138,9 @@ static void __initialize(void) { ta_cpuset_fd = open(filename, O_WRONLY | O_CLOEXEC); #ifdef USE_SCHEDBOOST filename = "/sys/fs/cgroup/stune/foreground/tasks"; filename = "/dev/stune/foreground/tasks"; fg_schedboost_fd = open(filename, O_WRONLY | O_CLOEXEC); filename = "/sys/fs/cgroup/stune/tasks"; filename = "/dev/stune/tasks"; bg_schedboost_fd = open(filename, O_WRONLY | O_CLOEXEC); #endif } Loading
rootdir/init.rc +9 −9 Original line number Diff line number Diff line Loading @@ -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/ Loading
rootdir/init.zygote32.rc +1 −1 Original line number Diff line number Diff line Loading @@ -7,4 +7,4 @@ service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-sys onrestart restart cameraserver onrestart restart media onrestart restart netd writepid /dev/cpuset/foreground/tasks /sys/fs/cgroup/stune/foreground/tasks writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
rootdir/init.zygote32_64.rc +1 −1 Original line number Diff line number Diff line Loading @@ -13,4 +13,4 @@ service zygote_secondary /system/bin/app_process64 -Xzygote /system/bin --zygote class main socket zygote_secondary stream 660 root system onrestart restart zygote writepid /dev/cpuset/foreground/tasks /sys/fs/cgroup/stune/foreground/tasks writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
rootdir/init.zygote64.rc +1 −1 Original line number Diff line number Diff line Loading @@ -7,4 +7,4 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s onrestart restart cameraserver onrestart restart media onrestart restart netd writepid /dev/cpuset/foreground/tasks /sys/fs/cgroup/stune/foreground/tasks writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks