Merge pull request #18401 from anitazha/oomdxattr

oomd: implement avoid/omit support for cgroups
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-02-13 10:00:31 +01:00
committed by GitHub
22 changed files with 380 additions and 41 deletions
+2 -1
View File
@@ -435,7 +435,8 @@ static int bus_append_cgroup_property(sd_bus_message *m, const char *field, cons
if (STR_IN_SET(field, "DevicePolicy",
"Slice",
"ManagedOOMSwap",
"ManagedOOMMemoryPressure"))
"ManagedOOMMemoryPressure",
"ManagedOOMPreference"))
return bus_append_string(m, field, eq);
if (STR_IN_SET(field, "ManagedOOMMemoryPressureLimit")) {