]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - man/systemd.resource-control.xml
tree-wide: beautify remaining copyright statements
[thirdparty/systemd.git] / man / systemd.resource-control.xml
index 761a6056dec73cd3c4ae432d39b7cb47ca31e245..75497f0b3b4d8cb56017e120d47fdd652b7fc68b 100644 (file)
@@ -3,22 +3,9 @@
 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
 
 <!--
-  This file is part of systemd.
+  SPDX-License-Identifier: LGPL-2.1+
 
-  Copyright 2013 Zbigniew Jędrzejewski-Szmek
-
-  systemd is free software; you can redistribute it and/or modify it
-  under the terms of the GNU Lesser General Public License as published by
-  the Free Software Foundation; either version 2.1 of the License, or
-  (at your option) any later version.
-
-  systemd is distributed in the hope that it will be useful, but
-  WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  Lesser General Public License for more details.
-
-  You should have received a copy of the GNU Lesser General Public License
-  along with systemd; If not, see <http://www.gnu.org/licenses/>.
+  Copyright © 2013 Zbigniew Jędrzejewski-Szmek
 -->
 
 <refentry id="systemd.resource-control">
         <varlistentry>
           <term><option>CPU</option></term>
           <listitem>
-            <para>Due to the lack of consensus in the kernel community, the CPU controller support on the unified
-            control group hierarchy requires out-of-tree kernel patches. See <ulink
-            url="https://git.kernel.org/cgit/linux/kernel/git/tj/cgroup.git/tree/Documentation/cgroup-v2-cpu.txt?h=cgroup-v2-cpu">cgroup-v2-cpu.txt</ulink>.</para>
-
             <para><varname>CPUWeight=</varname> and <varname>StartupCPUWeight=</varname> replace
             <varname>CPUShares=</varname> and <varname>StartupCPUShares=</varname>, respectively.</para>
 
         <varlistentry>
           <term><option>IO</option></term>
           <listitem>
-            <para><varname>IO</varname> prefixed settings are superset of and replace <varname>BlockIO</varname>
+            <para><varname>IO</varname> prefixed settings are superset of and replace <varname>BlockIO</varname>
             prefixed ones. On unified hierarchy, IO resource control also applies to buffered writes.</para>
           </listitem>
         </varlistentry>
         <listitem>
           <para>Takes a boolean argument. If true, turns on IPv4 and IPv6 network traffic accounting for packets sent
           or received by the unit. When this option is turned on, all IPv4 and IPv6 sockets created by any process of
-          the unit are accounted for. When this option is used in socket units, it applies to all IPv4 and IPv6 sockets
+          the unit are accounted for.</para>
+
+          <para>When this option is used in socket units, it applies to all IPv4 and IPv6 sockets
           associated with it (including both listening and connection sockets where this applies). Note that for
           socket-activated services, this configuration setting and the accounting data of the service unit and the
           socket unit are kept separate, and displayed separately. No propagation of the setting and the collected
           statistics is done, in either direction. Moreover, any traffic sent or received on any of the socket unit's
           sockets is accounted to the socket unit — and never to the service unit it might have activated, even if the
-          socket is used by it. Note that IP accounting is currently not supported for slice units, and enabling this
-          option for them has no effect. The system default for this setting may be controlled with
-          <varname>DefaultIPAccounting=</varname> in
+          socket is used by it.</para>
+
+          <para>The system default for this setting may be controlled with <varname>DefaultIPAccounting=</varname> in
           <citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
         </listitem>
       </varlistentry>
           of control group controller names. If true, delegation is turned on, and all supported controllers are
           enabled for the unit, making them available to the unit's processes for management. If false, delegation is
           turned off entirely (and no additional controllers are enabled). If set to a list of controllers, delegation
-          is turned on, and the specified controllers are enabled for the unit. Note that assigning the empty string
-          will enable delegation, but not enable any additional controllers. Defaults to false.</para>
+          is turned on, and the specified controllers are enabled for the unit. Note that additional controllers than
+          the ones specified might be made available as well, depending on configuration of the containing slice unit
+          or other units contained in it. Note that assigning the empty string will enable delegation, but reset the
+          list of controllers, all assignments prior to this will have no effect.  Defaults to false.</para>
 
           <para>Note that controller delegation to less privileged code is only safe on the unified control group
           hierarchy. Accordingly, access to the specified controllers will not be granted to unprivileged services on