swapoff: avoid being killed by OOM
authorKarel Zak <kzak@redhat.com>
Thu, 20 Jun 2024 10:07:12 +0000 (12:07 +0200)
committerChris Hofstaedtler <zeha@debian.org>
Wed, 14 Aug 2024 10:29:34 +0000 (12:29 +0200)
commitd6588f7fd6d95de1ee1373c93b51710f00e5cd00
tree40e60eea2ffdcdc7f06be5d7e8e7d9bbc92f27b0
parentd9b448dd6dc9a09a9ed3600fe074e8542b43fd18
swapoff: avoid being killed by OOM

Based on patch from dparalen <vetrisko@gmail.com>.

Fixes: https://github.com/util-linux/util-linux/issues/3095
Signed-off-by: Karel Zak <kzak@redhat.com>
Gbp-Pq: Topic upstream-master
Gbp-Pq: Name swapoff-avoid-being-killed-by-OOM.patch
include/pathnames.h
sys-utils/swapoff.c