diff options
author | Austin S. Hemmelgarn <ahferroin7@gmail.com> | 2015-10-06 15:02:28 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2015-10-06 15:05:35 -0500 |
commit | 80d3928b0d13f09a9c1e82bd27c9fff943d84d43 (patch) | |
tree | 6d1db64353e5a004ba0d72735b86a73da3afbd65 /etc | |
parent | 17ef205bc63a4e231dccee719394a7a8563f8c3f (diff) |
cgroups: Add the hugetlb, net_cls and pids controllers
Note from WilliamH: I slightly rearranged the code and added the
settings in rc.conf.
X-Gentoo-Bug: 555488
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=555488
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.conf.Linux | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux index a8ad58b1..f04f96ef 100644 --- a/etc/rc.conf.Linux +++ b/etc/rc.conf.Linux @@ -62,12 +62,21 @@ rc_tty_number=12 # Set the devices controller settings for this service. #rc_cgroup_devices="" +# Set the hugetlb controller settings for this service. +#rc_cgroup_hugetlb="" + # Set the memory controller settings for this service. #rc_cgroup_memory="" +# Set the net_cls controller settings for this service. +#rc_cgroup_net_cls="" + # Set the net_prio controller settings for this service. #rc_cgroup_net_prio="" +# Set the pids controller settings for this service. +#rc_cgroup_pids="" + # Set this to YES if yu want all of the processes in a service's cgroup # killed when the service is stopped or restarted. # This should not be set globally because it kills all of the service's |