io-uring.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Pavel Begunkov <asml.silence@gmail.com>, io-uring@vger.kernel.org
Subject: Re: [PATCH for-next] io_uring: optimise io_req_init() sqe flags checks
Date: Wed, 15 Sep 2021 19:54:12 -0600	[thread overview]
Message-ID: <5e041f1e-c8e6-d911-e558-e5d1269e5534@kernel.dk> (raw)
In-Reply-To: <dccfb9ab2ab0969a2d8dc59af88fa0ce44eeb1d5.1631703764.git.asml.silence@gmail.com>

On 9/15/21 5:03 AM, Pavel Begunkov wrote:
> IOSQE_IO_DRAIN is quite marginal and we don't care too much about
> IOSQE_BUFFER_SELECT. Save to ifs and hide both of them under
> SQE_VALID_FLAGS check. Now we first check whether it uses a "safe"
> subset, i.e. without DRAIN and BUFFER_SELECT, and only if it's not
> true we test the rest of the flags.

Applied, thanks.

-- 
Jens Axboe


      reply	other threads:[~2021-09-16  1:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-15 11:03 Pavel Begunkov
2021-09-16  1:54 ` 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=5e041f1e-c8e6-d911-e558-e5d1269e5534@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=asml.silence@gmail.com \
    --cc=io-uring@vger.kernel.org \
    --subject='Re: [PATCH for-next] io_uring: optimise io_req_init() sqe flags checks' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).