From: Jens Axboe <[email protected]>
To: Pavel Begunkov <[email protected]>, Dylan Yudaken <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: [PATCH for-next] io_uring: do not always force run task_work in io_uring_register
Date: Mon, 07 Nov 2022 13:18:15 -0700 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
On Mon, 7 Nov 2022 04:33:49 -0800, Dylan Yudaken wrote:
> Running task work when not needed can unnecessarily delay
> operations. Specifically IORING_SETUP_DEFER_TASKRUN tries to avoid running
> task work until the user requests it. Therefore do not run it in
> io_uring_register any more.
>
> The one catch is that io_rsrc_ref_quiesce expects it to have run in order
> to process all outstanding references, and so reorder it's loop to do this.
>
> [...]
Applied, thanks!
[1/1] io_uring: do not always force run task_work in io_uring_register
commit: 462f399f87496aa71968ed863994f0db5b170ea3
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2022-11-07 20:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-07 12:33 [PATCH for-next] io_uring: do not always force run task_work in io_uring_register Dylan Yudaken
2022-11-07 20:18 ` 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=166785229548.23646.1630139769240793850.b4-ty@kernel.dk \
[email protected] \
[email protected] \
[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