From: Chris Down Date: Mon, 30 Sep 2019 13:23:32 +0000 (+0100) Subject: cgroup: docs: Mention unbounded protection for memory.{low,min} X-Git-Tag: v244-rc1~249^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b62087d4d06777ccde9eb9e7a97abc7b8945d5f5;p=thirdparty%2Fsystemd.git cgroup: docs: Mention unbounded protection for memory.{low,min} I got asked why Memory{Low,Min} don't allow "infinity". They do, but the docs don't say that like they already do for Memory{High,Max}. --- diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index 98a0741359a..a832587fa81 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -269,7 +269,9 @@ Takes a memory size in bytes. If the value is suffixed with K, M, G or T, the specified memory size is parsed as Kilobytes, Megabytes, Gigabytes, or Terabytes (with the base 1024), respectively. Alternatively, a percentage value may be specified, which is taken relative to the installed physical memory on the - system. This controls the memory.min control group attribute. For details about this + system. If assigned the special value infinity, all available memory is protected, which may be + useful in order to always inherit all of the protection afforded by ancestors. + This controls the memory.min control group attribute. For details about this control group attribute, see cgroup-v2.txt. @@ -293,7 +295,9 @@ Takes a memory size in bytes. If the value is suffixed with K, M, G or T, the specified memory size is parsed as Kilobytes, Megabytes, Gigabytes, or Terabytes (with the base 1024), respectively. Alternatively, a percentage value may be specified, which is taken relative to the installed physical memory on the - system. This controls the memory.low control group attribute. For details about this + system. If assigned the special value infinity, all available memory is protected, which may be + useful in order to always inherit all of the protection afforded by ancestors. + This controls the memory.low control group attribute. For details about this control group attribute, see cgroup-v2.txt.