From: Zbigniew Jędrzejewski-Szmek Date: Thu, 25 Feb 2021 12:25:35 +0000 (+0100) Subject: man: use markup more in description of ManagedOOMPreference= X-Git-Tag: v248-rc3~108^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=326152af4dba8f4fd987d35e3fc2fa3c85a3f2b3;p=thirdparty%2Fsystemd.git man: use markup more in description of ManagedOOMPreference= Follow-up for d8a4d64bc37ad21381f584b6c25792995584c7a2. --- diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index 6d15540377b..33b6fcee878 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -918,31 +918,34 @@ DeviceAllow=/dev/loop-control ManagedOOMPreference=none|avoid|omit - Allows deprioritizing or omitting this unit's cgroup as a candidate when systemd-oomd - needs to act. Requires support for extended attributes (see + Allows deprioritizing or omitting this unit's cgroup as a candidate when + systemd-oomd needs to act. Requires support for extended attributes (see xattr7) - in order to use or . Additionally, systemd-oomd - will ignore these extended attributes if the unit's cgroup is not owned by the root user. + in order to use or . Additionally, + systemd-oomd will ignore these extended attributes if the unit's cgroup is not + owned by the root user. If this property is set to , the service manager will set the - "user.oomd_avoid" extended attribute on the unit's cgroup to "1". If systemd-oomd sees - this extended attribute on a cgroup set to "1" when choosing between candidates, it will only select the - cgroup with "user.oomd_avoid" if there are no other viable candidates. - - If this property is set to , the service manager will set the "user.oomd_omit" - extended attribute on the unit's cgroup to "1". If systemd-oomd sees the this extended - attribute on the cgroup set to "1", it will ignore the cgroup as a candidate and will not perform any actions - on the cgroup. - - It is recommended to use and sparingly as it can adversely - affect systemd-oomd's kill behavior. Also note that these extended attributes are not - applied recursively to cgroups under this unit's cgroup. - - Defaults to which means no extended attributes will be set and systemd-oomd will - sort this unit's cgroup as defined in + user.oomd_avoid extended attribute on the unit's cgroup to 1. + If systemd-oomd sees this extended attribute on a cgroup set to + 1 when choosing between candidates, it will only select the cgroup with + user.oomd_avoid if there are no other viable candidates. + + If this property is set to , the service manager will set the + user.oomd_omit extended attribute on the unit's cgroup to 1. + If systemd-oomd sees the this extended attribute on the cgroup set to + 1, it will ignore the cgroup as a candidate and will not perform any actions on + the cgroup. + + It is recommended to use and sparingly, as it + can adversely affect systemd-oomd's kill behavior. Also note that these extended + attributes are not applied recursively to cgroups under this unit's cgroup. + + Defaults to which means no extended attributes will be set and + systemd-oomd will sort this unit's cgroup as defined in systemd-oomd.service8 - and oomd.conf5 (if this - unit's cgroup becomes a candidate). + and oomd.conf5 + (if this unit's cgroup becomes a candidate).