From 554b48cfaf8dc3381968617901727a1a4761d5c2 Mon Sep 17 00:00:00 2001 From: Chris Down Date: Mon, 30 Sep 2019 14:23:32 +0100 Subject: [PATCH] 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}. (cherry picked from commit b62087d4d06777ccde9eb9e7a97abc7b8945d5f5) (cherry picked from commit 2ab45f38d8c4d694f483478c4c055f2d6577c805) Gbp-Pq: Name cgroup-docs-Mention-unbounded-protection-for-memory.-low-.patch --- man/systemd.resource-control.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index d8fa2472..b48704a1 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -239,7 +239,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. @@ -263,7 +265,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. -- 2.30.2