From: Daurnimator <[email protected]>
To: Mark Papadakis <[email protected]>
Cc: io-uring <[email protected]>
Subject: Re: Feature Request: SQE's flag for when you are not interested in the op.result
Date: Wed, 22 Apr 2020 18:27:23 +1000 [thread overview]
Message-ID: <CAEnbY+dyDgb=0dq=1Vfo5qKVEps8U88azO_ufPFcf55GSTxquA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
On Wed, 22 Apr 2020 at 18:13, Mark Papadakis <[email protected]> wrote:
>
> When e.g manipulating epoll state via its FD, most of the time you don’t care wether e.g EPOLL_CTL_DEL succeeds or fails, or you know that it will “never” fail. In such cases maybe it ‘d be beneficial to support another IOSQE flag which, when set, would instruct the io_uring to not include a matching CQE for that SQE when processed.
> It’s not a big deal, per se, but it would probably help somewhat with performance.
I don't know if this makes sense: it could always fail e.g. due to a
security module.
And because you always need to check for failure, you need to know
when success happens so you can stop tracking for possible failures.
prev parent reply other threads:[~2020-04-22 8:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-22 8:04 Feature Request: SQE's flag for when you are not interested in the op.result Mark Papadakis
2020-04-22 8:27 ` Daurnimator [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='CAEnbY+dyDgb=0dq=1Vfo5qKVEps8U88azO_ufPFcf55GSTxquA@mail.gmail.com' \
[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