diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-03-09 21:49:32 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-03-09 23:43:04 +0900 |
commit | 054749e413efebd95ba28e5f6c97a22289f0370c (patch) | |
tree | 19f3156d5e3c888571aab835d1dbf9b26bce103a /src/core/load-fragment-gperf.gperf.in | |
parent | 7b3693e4e4c9cae50fca65136278a62fae11327e (diff) | |
download | systemd-054749e413efebd95ba28e5f6c97a22289f0370c.tar.gz |
core: add missing MemoryPressureWatch= and MemoryPressureThresholdSec= setting
Follow-up for #26393.
Addresses https://github.com/systemd/systemd/pull/26393#issuecomment-1458655798.
Diffstat (limited to 'src/core/load-fragment-gperf.gperf.in')
-rw-r--r-- | src/core/load-fragment-gperf.gperf.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/load-fragment-gperf.gperf.in b/src/core/load-fragment-gperf.gperf.in index 2a8a10819b..d78d6eca91 100644 --- a/src/core/load-fragment-gperf.gperf.in +++ b/src/core/load-fragment-gperf.gperf.in @@ -249,6 +249,8 @@ {{type}}.SocketBindAllow, config_parse_cgroup_socket_bind, 0, offsetof({{type}}, cgroup_context.socket_bind_allow) {{type}}.SocketBindDeny, config_parse_cgroup_socket_bind, 0, offsetof({{type}}, cgroup_context.socket_bind_deny) {{type}}.RestrictNetworkInterfaces, config_parse_restrict_network_interfaces, 0, offsetof({{type}}, cgroup_context) +{{type}}.MemoryPressureThresholdSec, config_parse_sec, 0, offsetof({{type}}, cgroup_context.memory_pressure_threshold_usec) +{{type}}.MemoryPressureWatch, config_parse_memory_pressure_watch, 0, offsetof({{type}}, cgroup_context.memory_pressure_watch) {%- endmacro -%} %{ |