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>
Sat, 6 Jul 2024 13:57:30 +0000 (15:57 +0200)
commit5310b86f603ad9fe383fb4c5b5d59a2becf8f73a
tree5b23ce20c8d386e99d264bfbfa561d16717097f9
parent19b3a560bd9574d763de38068c84cc9cec1d6665
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