From: Askar Safin <safinaskar@gmail.com>
To: mpatocka@redhat.com
Cc: adrelanos@whonix.org, arraybolt3@gmail.com,
cryptsetup@lists.linux.dev, dm-devel@lists.linux.dev,
gmazyland@gmail.com, linux-kernel@vger.kernel.org,
linux-mm@kvack.org
Subject: Re: Hard system lock-ups when using encrypted swap and RAM is exhausted
Date: Thu, 11 Dec 2025 21:24:29 +0300 [thread overview]
Message-ID: <20251211182429.3300562-1-safinaskar@gmail.com> (raw)
In-Reply-To: <3f3d871a-6a86-354f-f83d-a871793a4a47@redhat.com>
Mikulas Patocka <mpatocka@redhat.com>:
> So, this is what happened to you - the machine runs out of memory, it
> needs to swap out some pages, dm-crypt encrypts the pages and generates
> write bios, the write bios are directed to the loop device, the loop
> device directs them to the filesystem, the filesystem attempts to allocate
> more memory => deadlock.
Does similar thing happen in my case? I. e. swap on top of dm-integrity on
top of partition? Is my use case supported? (I'm not talking about
hibernation now, just about swap.)
--
Askar Safin
next prev parent reply other threads:[~2025-12-11 18:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-12 5:18 Aaron Rainbolt
2025-11-27 7:59 ` Milan Broz
2025-11-27 17:54 ` Mikulas Patocka
2025-11-27 23:24 ` Aaron Rainbolt
2025-11-28 0:51 ` Kurt Fitzner
2025-11-28 13:06 ` Mikulas Patocka
2025-12-11 18:24 ` Askar Safin [this message]
2025-11-27 23:37 ` Aaron Rainbolt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251211182429.3300562-1-safinaskar@gmail.com \
--to=safinaskar@gmail.com \
--cc=adrelanos@whonix.org \
--cc=arraybolt3@gmail.com \
--cc=cryptsetup@lists.linux.dev \
--cc=dm-devel@lists.linux.dev \
--cc=gmazyland@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mpatocka@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox