summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-09-17 14:58:00 -0500
committerLennart Poettering <lennart@poettering.net>2013-09-17 14:58:00 -0500
commitddca82aca08712a302cfabdbe59f73ee9ed3f73a (patch)
tree9e2b487840cf91cb27386ac932616386a4d1f101 /man
parent387abf80ad40e4a6c2f4725c8eff4d66bf110d1f (diff)
downloadsystemd-ddca82aca08712a302cfabdbe59f73ee9ed3f73a.tar.gz
systemd-ddca82aca08712a302cfabdbe59f73ee9ed3f73a.tar.bz2
systemd-ddca82aca08712a302cfabdbe59f73ee9ed3f73a.zip
cgroup: get rid of MemorySoftLimit=
The cgroup attribute memory.soft_limit_in_bytes is unlikely to stay around in the kernel for good, so let's not expose it for now. We can readd something like it later when the kernel guys decided on a final API for this.
Diffstat (limited to 'man')
-rw-r--r--man/systemd.cgroup.xml15
1 files changed, 5 insertions, 10 deletions
diff --git a/man/systemd.cgroup.xml b/man/systemd.cgroup.xml
index cc0eb15abb..ac5896233c 100644
--- a/man/systemd.cgroup.xml
+++ b/man/systemd.cgroup.xml
@@ -136,22 +136,17 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<varlistentry>
<term><varname>MemoryLimit=<replaceable>bytes</replaceable></varname></term>
- <term><varname>MemorySoftLimit=<replaceable>bytes</replaceable></varname></term>
<listitem>
- <para>Specify the hard and soft limits on maximum memory
- usage of the executed processes. The "hard" limit specifies
- how much process and kernel memory can be used by tasks in
- this unit, when there is no memory contention. If the kernel
- detects memory contention, memory reclaim will be performed
- until the memory usage is within the "soft" limit. Takes a
+ <para>Specify the limit on maximum memory usage of the
+ executed processes. The limit specifies how much process and
+ kernel memory can be used by tasks in this unit. 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. This controls the
- <literal>memory.limit_in_bytes</literal> and
- <literal>memory.soft_limit_in_bytes</literal> control group
- attributes. For details about these control group attributes,
+ <literal>memory.limit_in_bytes</literal> control group
+ attribute. For details about this control group attribute,
see <ulink
url="https://www.kernel.org/doc/Documentation/cgroups/memory.txt">memory.txt</ulink>.</para>