Author: baggins Date: Sun Jan 29 11:22:30 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new cgroup
- added mount information for systemd and sysv systems
---- Files affected:
packages/libcgroup:
libcgroup-conf.patch (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/libcgroup/libcgroup-conf.patch
diff -u packages/libcgroup/libcgroup-conf.patch:1.4
packages/libcgroup/libcgroup-conf.patch:1.5
--- packages/libcgroup/libcgroup-conf.patch:1.4 Sun Jan 29 12:05:59 2012
+++ packages/libcgroup/libcgroup-conf.patch Sun Jan 29 12:22:25 2012
@@ -1,7 +1,7 @@
diff -ur libcgroup-0.37/samples/cgconfig.conf
libcgroup-0.37-conf/samples/cgconfig.conf
--- libcgroup-0.37/samples/cgconfig.conf 2010-10-20 15:59:13.000000000
+0200
+++ libcgroup-0.37-conf/samples/cgconfig.conf 2011-02-10 18:05:17.560363010
+0100
-@@ -10,39 +10,19 @@
+@@ -10,39 +10,23 @@
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
@@ -43,6 +43,9 @@
-# cpuacct = /mnt/cgroups/cpuacct;
-#}
+# By default, mount all controllers to /sys/fs/cgroup/<controller>
++# systemd will mount all of them automatically.
++# For SysV style init to work you need to mount tmpfs on /sys/fs/cgroup
++# first (see /etc/fstab).
+#
+#mount {
+# blkio = /sys/fs/cgroup/blkio;
@@ -54,6 +57,7 @@
+# freezer = /sys/fs/cgroup/freezer;
+# memory = /sys/fs/cgroup/memory;
+# net_cls = /sys/fs/cgroup/net_cls;
++# perf_event = /sys/fs/cgroup/perf_event;
+#}
+
diff -ur libcgroup-0.37/samples/cgconfig.sysconfig
libcgroup-0.37-conf/samples/cgconfig.sysconfig
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libcgroup/libcgroup-conf.patch?r1=1.4&r2=1.5&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit