summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2010-02-27 08:20:11 -0800
committerSan Mehat <san@google.com>2010-02-27 10:06:09 -0800
commitb91bf4ba864a392412397913ee09a8c1f2e7cc87 (patch)
tree71c6b130bb43f853b3d2bd00629a4ea13418d9cf
parentbfb0477f1d0210e117f66f36128f9cc0ca962b6e (diff)
downloadsystem_core-b91bf4ba864a392412397913ee09a8c1f2e7cc87.zip
system_core-b91bf4ba864a392412397913ee09a8c1f2e7cc87.tar.gz
system_core-b91bf4ba864a392412397913ee09a8c1f2e7cc87.tar.bz2
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 97a3b38..7b7d7ba 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -58,9 +58,7 @@ loglevel 3
# Create cgroup mount points for process groups
mkdir /dev/cpuctl
- mount cgroup none /dev/cpuctl cpu,cpuacct
- mkdir /dev/cpuctl/uid
- chmod 0775 /dev/cpuctl/uid
+ mount cgroup none /dev/cpuctl cpu
chown system system /dev/cpuctl
chown system system /dev/cpuctl/tasks
chmod 0777 /dev/cpuctl/tasks