mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Breno Leitao <leitao@debian.org>
To: Shuai Liu <847807867@qq.com>
Cc: Jens Axboe <axboe@kernel.dk>,
	io-uring@vger.kernel.org,  linux-kernel@vger.kernel.org,
	syzbot+675af112519ca34f5502@syzkaller.appspotmail.com
Subject: Re: [PATCH] io_uring/sqpoll: don't set IO_SQ_THREAD_SHOULD_STOP on thread exit
Date: Tue, 3 Nov 2026 05:09:55 -0800	[thread overview]
Message-ID: <auncyphG6lXI7rvo@gmail.com> (raw)
In-Reply-To: <tencent_BB08960D79E0261B5C1EB1E589787734E907@qq.com>

On Mon, Nov 02, 2026 at 04:05:42PM +0800, Shuai Liu wrote:
>   WARNING: io_uring/sqpoll.c:88 at io_sq_thread_stop
>   Workqueue: iou_exit io_ring_exit_work
>   Call Trace:
>    io_put_sq_data
>    io_sq_thread_finish
>    io_ring_ctx_free
>    io_ring_exit_work

I've started seeing this issue on my debug kernels.

Not sure if this is the right approach to fix it, but, I've tested this
patch, and the warning went away.

Jens, feel free to add my `Tested-by: Breno Leitao <leitao@debian.org>'
if you decide to get this patch in.

--breno

  reply	other threads:[~2026-11-03 13:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-02  8:05 Shuai Liu
2026-11-03 13:09 ` Breno Leitao [this message]
2026-11-03 14:03   ` Jens Axboe
2026-11-03 14:31 ` Jens Axboe

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=auncyphG6lXI7rvo@gmail.com \
    --to=leitao@debian.org \
    --cc=847807867@qq.com \
    --cc=axboe@kernel.dk \
    --cc=io-uring@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+675af112519ca34f5502@syzkaller.appspotmail.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

all inboxes | Powered by JetHome®