From be60dd3ec8e492c3dec712b9be823f578fd91d64 Mon Sep 17 00:00:00 2001 From: Ryutaroh Matsumoto <36657667+ryutaroh-matsumoto@users.noreply.github.com> Date: Fri, 20 Jul 2018 20:37:54 +0900 Subject: [PATCH] Various accountings are not implied by their controllers The original manpage says "Implies BBBAccounting" many times but actually that accounting is not implied by the respective resource control in v239 with the unified cgroup hierarchy. This commit removes those false explanations. --- man/systemd.resource-control.xml | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index dffadb39bc..83e9434aa0 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -176,8 +176,6 @@ the startup phase. Using StartupCPUWeight= allows prioritizing specific services at boot-up differently than during normal runtime. - Implies CPUAccounting=true. - These settings replace CPUShares= and StartupCPUShares=. @@ -197,7 +195,6 @@ Example: CPUQuota=20% ensures that the executed processes will never get more than 20% CPU time on one CPU. - Implies CPUAccounting=true. @@ -230,8 +227,6 @@ control group attribute, see cgroup-v2.txt. - Implies MemoryAccounting=true. - This setting is supported only if the unified control group hierarchy is used and disables MemoryLimit=. @@ -252,8 +247,6 @@ control group attribute, see cgroup-v2.txt. - Implies MemoryAccounting=true. - This setting is supported only if the unified control group hierarchy is used and disables MemoryLimit=. @@ -275,8 +268,6 @@ memory.high control group attribute. For details about this control group attribute, see cgroup-v2.txt. - Implies MemoryAccounting=true. - This setting is supported only if the unified control group hierarchy is used and disables MemoryLimit=. @@ -298,8 +289,6 @@ memory.max control group attribute. For details about this control group attribute, see cgroup-v2.txt. - Implies MemoryAccounting=true. - This setting replaces MemoryLimit=. @@ -316,8 +305,6 @@ memory.swap.max control group attribute. For details about this control group attribute, see cgroup-v2.txt. - Implies MemoryAccounting=true. - This setting is supported only if the unified control group hierarchy is used and disables MemoryLimit=. @@ -353,7 +340,7 @@ the pids.max control group attribute. For details about this control group attribute, see pids.txt. - Implies TasksAccounting=true. The + The system default for this setting may be controlled with DefaultTasksMax= in systemd-system.conf5. @@ -395,8 +382,6 @@ phase. This allows prioritizing specific services at boot-up differently than during runtime. - Implies IOAccounting=true. - These settings replace BlockIOWeight= and StartupBlockIOWeight= and disable settings prefixed with BlockIO or StartupBlockIO. @@ -415,8 +400,6 @@ details about this control group attribute, see cgroup-v2.txt. - Implies IOAccounting=true. - This setting replaces BlockIODeviceWeight= and disables settings prefixed with BlockIO or StartupBlockIO. @@ -440,8 +423,6 @@ url="https://www.kernel.org/doc/Documentation/cgroup-v2.txt">cgroup-v2.txt. - Implies IOAccounting=true. - These settings replace BlockIOReadBandwidth= and BlockIOWriteBandwidth= and disable settings prefixed with BlockIO or StartupBlockIO. @@ -466,8 +447,6 @@ url="https://www.kernel.org/doc/Documentation/cgroup-v2.txt">cgroup-v2.txt. - Implies IOAccounting=true. - These settings are supported only if the unified control group hierarchy is used and disable settings prefixed with BlockIO or StartupBlockIO.