swapoff: avoid being killed by OOM
authorKarel Zak <kzak@redhat.com>
Thu, 20 Jun 2024 10:07:12 +0000 (12:07 +0200)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 3 Sep 2024 14:00:47 +0000 (14:00 +0000)
commit59e64ca62e162ad6d1eb602e3d4cd3c29395d8be
tree912ba5d78a758c7c32d86e948adecb9dfd1176cf
parente67c6583e06bb00976b8fdf82f9953a1a265101a
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