]> git.ipfire.org Git - thirdparty/systemd.git/commit
oomd: move check if processes can be killed into oomd_cgroup_kill()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 22 Nov 2025 01:19:47 +0000 (10:19 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Nov 2025 11:40:13 +0000 (12:40 +0100)
commit332bce5bd7a9294c3b414b6da72b09986af69d6b
tree4012c277aa17689d55ad4d7e7bb0d5e0484986f6
parent5da6a8ee6e3ae9a88ae86a98b9eeff02a41f3fe1
oomd: move check if processes can be killed into oomd_cgroup_kill()

This also adds a debuuging log if the check failed.
Addresses https://github.com/systemd/systemd/pull/39773#discussion_r2549439336.

Follow-up for 38e9d40c8097363b1e8fa025ef06865dadb0a3ac.
src/oom/oomd-util.c