public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Calvin Owens <jcalvinowens@gmail.com>
To: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>, Jan Kara <jack@suse.cz>,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [BUG] Infinite loop in cleanup_mnt() task_work on 6.3-rc3
Date: Fri, 9 Feb 2024 20:13:49 -0800	[thread overview]
Message-ID: <Zcb3_fdyJWUlZQci@gmail.com> (raw)
In-Reply-To: <20240206205014.GA608142@ZenIV>

On Tuesday 02/06 at 20:50 +0000, Al Viro wrote:
> On Tue, Feb 06, 2024 at 11:52:58AM -0800, Calvin Owens wrote:
> > Hello all,
> >
> > A couple times in the past week, my laptop has been wedged by a spinning
> > cleanup_mnt() task_work from an exiting container runtime (bwrap).
>
> Check if git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git #fixes
>
> helps.

That absolutely fixes it (the revert of 57851607).

This reproducer hits the bug 100% of the time on my Debian Sid GNOME box:

	$ for i in {1..1000}; do \
		dd if=/dev/urandom bs=65536 count=1 status=none | \
		convert -size 256x256 -depth 8 GRAY:- ${i}.png; done
	$ nautilus .

It turns out Nautilus was the trigger: it spawns and destroys containers
in very quick succession to compute each thumbnail in a directory of
images.

Thanks,
Calvin

      reply	other threads:[~2024-02-10  4:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-06 19:52 [BUG] Infinite loop in cleanup_mnt() task_work on 6.3-rc3 Calvin Owens
2024-02-06 20:50 ` Al Viro
2024-02-10  4:13   ` Calvin Owens [this message]

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=Zcb3_fdyJWUlZQci@gmail.com \
    --to=jcalvinowens@gmail.com \
    --cc=brauner@kernel.org \
    --cc=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /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