linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: Askar Safin <safinaskar@gmail.com>,
	Mikulas Patocka <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: Sun, 11 Jan 2026 14:34:22 +0100	[thread overview]
Message-ID: <fc1d7900-3a5f-4b31-8aa3-8c8cd317d646@redhat.com> (raw)
In-Reply-To: <CAPnZJGAvA+SpkMeOdZx+SZG=qZxSXOThO+Or1bgw=3QqCoEDgw@mail.gmail.com>

Dne 10. 01. 26 v 8:09 Askar Safin napsal(a):
> On Fri, Jan 2, 2026 at 4:47 PM Mikulas Patocka <mpatocka@redhat.com> wrote:
>> Hi
>>
>> Dm integrity doesn't need to allocate memory when processing I/O requests
> 
> Thank you for answer!
> 
> Unfortunately, my experience shows the opposite thing.
> 
> [[ TL;DR: my experience shows that dm-integrity journaled mode is buggy, and
> non-journaled mode is not. I. e. journaled mode seems to allocate memory, and
> this causes temporary (for 4 minutes) lockups (on high specced
> machine). Or maybe journaled mode has
> some another bug, which causes such lockups. They are not reproducible in
> non-journaled mode. ]]


I think it's important to decipher what and how it's blocked - I kind of 
suspect your system is not blocked on 'dm-integrity' itself - rather some 
userland app being swapped out of CPU.

You probably do need to configure your systemd-oom killer to prevent getting 
your system to it's knees - if you run your system to the moment whether it 
takes 4 minutes to run a task - there is something seriously wrong with the 
configuration - as OOM is supposed to kill userland RAM hogging task much 
earlier (possibly even your overbloated google chrome APP if it run out of 
bounds).

So I think you should also show whole device tree of your system and some more 
information - so there is even 'remote' chance trying to reproduce your scenario.

Regards

Zdenek



  reply	other threads:[~2026-01-11 13:34 UTC|newest]

Thread overview: 11+ 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
2026-01-02 13:46       ` Mikulas Patocka
2026-01-10  7:09         ` Askar Safin
2026-01-11 13:34           ` Zdenek Kabelac [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=fc1d7900-3a5f-4b31-8aa3-8c8cd317d646@redhat.com \
    --to=zkabelac@redhat.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 \
    --cc=safinaskar@gmail.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