]> git.pld-linux.org Git - packages/libcgroup.git/commitdiff
- new cgroup
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 29 Jan 2012 11:22:25 +0000 (11:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added mount information for systemd and sysv systems

Changed files:
    libcgroup-conf.patch -> 1.5

libcgroup-conf.patch

index 4391f75823869dc600c7a1ea0f32b6aad89a655a..5ff82e387c24296f98ba6b2a94f48fb91e5487cf 100644 (file)
@@ -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 @@ diff -ur libcgroup-0.37/samples/cgconfig.conf libcgroup-0.37-conf/samples/cgconf
 -#     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 @@ diff -ur libcgroup-0.37/samples/cgconfig.conf libcgroup-0.37-conf/samples/cgconf
 +#     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
This page took 0.099753 seconds and 4 git commands to generate.