mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Breno Leitao <leitao@debian.org>, Shuai Liu <847807867@qq.com>
Cc: 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 07:03:54 -0700	[thread overview]
Message-ID: <bb881af7-4912-40a3-a5c5-7f4af35e59de@kernel.dk> (raw)
In-Reply-To: <auncyphG6lXI7rvo@gmail.com>

On 11/3/26 6:09 AM, Breno Leitao wrote:
> 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.

Thanks for testing - I'll get this queued up, but heads-up to the
original submitter, I'm going to trim the comment. LLM's love
their lengthy comments...

-- 
Jens Axboe


  reply	other threads:[~2026-11-03 14:04 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
2026-11-03 14:03   ` Jens Axboe [this message]
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=bb881af7-4912-40a3-a5c5-7f4af35e59de@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=847807867@qq.com \
    --cc=io-uring@vger.kernel.org \
    --cc=leitao@debian.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®