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>
Mon, 9 Sep 2024 21:20:25 +0000 (23:20 +0200)
commita307cc3e8568e40868f7be66da49cbfb84caf567
tree7834d32c474ab5f03df1ed726997b10ccf12f75d
parent68dc98b0ff69d26e83e46b472a0c4415b48b5068
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