]> git.ipfire.org Git - thirdparty/systemd.git/commit
Revert "oomd: move check if processes can be killed into oomd_cgroup_kill()"
authorMatteo Croce <teknoraver@meta.com>
Mon, 24 Nov 2025 11:58:07 +0000 (12:58 +0100)
committerMatteo Croce <teknoraver@meta.com>
Mon, 9 Feb 2026 01:05:57 +0000 (02:05 +0100)
commit67cbfbbf4b76d5d66ea32906812278d0ba7eb65c
tree9bdf51fb5024390304844c826de9389779ce30cf
parent8fba6e2b407870939c9e17543a4d89b125e361f6
Revert "oomd: move check if processes can be killed into oomd_cgroup_kill()"

This reverts commit 332bce5bd7a9294c3b414b6da72b09986af69d6b.

The revert is needed because with the PreKill hook, oomd_cgroup_kill()
is not goint to really kill processes but it just creates the callbacks.
So the check is deferred to the real kill.
src/oom/oomd-util.c