mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
cgroup: Polish hierarchically aware protection docs a bit
I missed adding a section in `systemd.resource-control` about DefaultMemoryMin in #12332. Also, add a NEWS entry going over the general concept.
This commit is contained in:
parent
fd0a16d8a5
commit
acdb4b5236
5
NEWS
5
NEWS
@ -19,6 +19,11 @@ CHANGES WITH 243 in spe:
|
||||
are harder to type, but we believe the change from 5 digit PIDs to 7
|
||||
digit PIDs is not too hampering for usability.
|
||||
|
||||
* MemoryLow and MemoryMin gained hierarchy-aware counterparts,
|
||||
DefaultMemoryLow and DefaultMemoryMin, which can be used to
|
||||
hierarchically set default memory protection values for a particular
|
||||
subtree of the unit hierarchy.
|
||||
|
||||
…
|
||||
|
||||
CHANGES WITH 242:
|
||||
|
@ -227,6 +227,7 @@ All cgroup/resource control settings are available for transient units
|
||||
✓ CPUQuota=
|
||||
✓ CPUQuotaPeriodSec=
|
||||
✓ MemoryAccounting=
|
||||
✓ DefaultMemoryMin=
|
||||
✓ MemoryMin=
|
||||
✓ DefaultMemoryLow=
|
||||
✓ MemoryLow=
|
||||
|
@ -245,6 +245,10 @@
|
||||
|
||||
<para>This setting is supported only if the unified control group hierarchy is used and disables
|
||||
<varname>MemoryLimit=</varname>.</para>
|
||||
|
||||
<para>Units may have their children use a default <literal>memory.min</literal> value by specifying
|
||||
<varname>DefaultMemoryMin=</varname>, which has the same semantics as <varname>MemoryMin=</varname>. This setting
|
||||
does not affect <literal>memory.min</literal> in the unit itself.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@ -266,8 +270,8 @@
|
||||
<para>This setting is supported only if the unified control group hierarchy is used and disables
|
||||
<varname>MemoryLimit=</varname>.</para>
|
||||
|
||||
<para>Units may can have their children use a default <literal>memory.low</literal> value by specifying
|
||||
<varname>DefaultMemoryLow=</varname>, which has the same usage as <varname>MemoryLow=</varname>. This setting
|
||||
<para>Units may have their children use a default <literal>memory.low</literal> value by specifying
|
||||
<varname>DefaultMemoryLow=</varname>, which has the same semantics as <varname>MemoryLow=</varname>. This setting
|
||||
does not affect <literal>memory.low</literal> in the unit itself.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
Loading…
x
Reference in New Issue
Block a user