From: Jens Axboe <[email protected]>
To: [email protected], Pavel Begunkov <[email protected]>
Subject: Re: [PATCH 1/1] io_uring: fix io_queue_proc modifying req->flags
Date: Thu, 07 Mar 2024 11:48:12 -0700 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <455cc49e38cf32026fa1b49670be8c162c2cb583.1709834755.git.asml.silence@gmail.com>
On Thu, 07 Mar 2024 18:06:32 +0000, Pavel Begunkov wrote:
> With multiple poll entries __io_queue_proc() might be running in
> parallel with poll handlers and possibly task_work, we should not be
> carelessly modifying req->flags there. io_poll_double_prepare() handles
> a similar case with locking but it's much easier to move it into
> __io_arm_poll_handler().
>
>
> [...]
Applied, thanks!
[1/1] io_uring: fix io_queue_proc modifying req->flags
commit: 1a8ec63b2b6c91caec87d4e132b1f71b5df342be
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2024-03-07 18:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-07 18:06 [PATCH 1/1] io_uring: fix io_queue_proc modifying req->flags Pavel Begunkov
2024-03-07 18:48 ` Jens Axboe [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=170983729263.487614.1608581285097755405.b4-ty@kernel.dk \
[email protected] \
[email protected] \
[email protected] \
/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