summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSan Mehat2010-02-27 10:20:11 -0600
committerSan Mehat2010-02-27 12:06:09 -0600
commitb91bf4ba864a392412397913ee09a8c1f2e7cc87 (patch)
tree71c6b130bb43f853b3d2bd00629a4ea13418d9cf
parentbfb0477f1d0210e117f66f36128f9cc0ca962b6e (diff)
downloadplatform-system-core-b91bf4ba864a392412397913ee09a8c1f2e7cc87.tar.gz
platform-system-core-b91bf4ba864a392412397913ee09a8c1f2e7cc87.tar.xz
platform-system-core-b91bf4ba864a392412397913ee09a8c1f2e7cc87.zip
Revert "init.rc: Add cpuacct to cgroup mount for cpu statistics"
This reverts commit a7d88224ff7283c210c25ce6d57239b4053b5f14. This cgroup subsys should be mounted on it's own mount-point, since it's addition to /dev/cpuctl causes the cpu subsys to EPERM
-rw-r--r--rootdir/init.rc4
1 files changed, 1 insertions, 3 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 97a3b3813..7b7d7ba04 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -58,9 +58,7 @@ loglevel 3
58 58
59# Create cgroup mount points for process groups 59# Create cgroup mount points for process groups
60 mkdir /dev/cpuctl 60 mkdir /dev/cpuctl
61 mount cgroup none /dev/cpuctl cpu,cpuacct 61 mount cgroup none /dev/cpuctl cpu
62 mkdir /dev/cpuctl/uid
63 chmod 0775 /dev/cpuctl/uid
64 chown system system /dev/cpuctl 62 chown system system /dev/cpuctl
65 chown system system /dev/cpuctl/tasks 63 chown system system /dev/cpuctl/tasks
66 chmod 0777 /dev/cpuctl/tasks 64 chmod 0777 /dev/cpuctl/tasks