From: Jens Axboe <axboe@kernel.dk>
To: io-uring <io-uring@vger.kernel.org>
Cc: Max Kellermann <max.kellermann@ionos.com>
Subject: Re: [PATCH] io_uring/io-wq: ensure workers are woken when io-wq context is exited
Date: Mon, 5 Jan 2026 08:45:30 -0700 [thread overview]
Message-ID: <01086100-4629-4037-b084-a9534d315d9c@kernel.dk> (raw)
In-Reply-To: <79dbdfd9-636d-426c-8299-7becb588b19b@kernel.dk>
On 1/5/26 7:45 AM, Jens Axboe wrote:
> When io_wq_exit_start() is called, the IO_WQ_BIT_EXIT bit is set to
> indicate to workers that the async context is going away. When that
> happens, any worker alive should be woken up. If that doesn't happen,
> then io-wq worker exit may take as long as WORKER_IDLE_TIMEOUT, which
> is set to 5 seconds by default.
>
> Cc: stable@vger.kernel.org # v6.18+
> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Fixes: 751eedc4b4b7 ("io_uring/io-wq: move worker lists to struct io_wq_acct")
--
Jens Axboe
next prev parent reply other threads:[~2026-01-05 15:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-05 14:45 [PATCH] io_uring/io-wq: ensure workers are woken when io-wq context is exited Jens Axboe
2026-01-05 15:45 ` Jens Axboe [this message]
[not found] ` <CAAZOf259y2HOVrCaqMvvegowp9fFgZSx2hqeP=ZfHJ2D9GyUUg@mail.gmail.com>
2026-01-05 15:54 ` Jens Axboe
[not found] ` <CAAZOf25R3eg0YzyWAyT0hhqe-mngcESKrweoyVcuR6n+7L1Usg@mail.gmail.com>
2026-01-05 17:59 ` David Kahurani
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=01086100-4629-4037-b084-a9534d315d9c@kernel.dk \
--to=axboe@kernel.dk \
--cc=io-uring@vger.kernel.org \
--cc=max.kellermann@ionos.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