public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Caleb Sander Mateos <csander@purestorage.com>
Cc: io-uring@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] io_uring: simplify IORING_SETUP_DEFER_TASKRUN && !SQPOLL check
Date: Mon, 09 Feb 2026 20:16:32 -0700	[thread overview]
Message-ID: <177069339234.478075.3124286738158436259.b4-ty@kernel.dk> (raw)
In-Reply-To: <20260206215806.1637548-1-csander@purestorage.com>


On Fri, 06 Feb 2026 14:58:04 -0700, Caleb Sander Mateos wrote:
> io_uring_sanitise_params() already rejects flags that include both
> IORING_SETUP_SQPOLL and IORING_SETUP_DEFER_TASKRUN. So it's unnecessary
> to check IORING_SETUP_SQPOLL in io_uring_create() when
> IORING_SETUP_DEFER_TASKRUN has already been checked. Drop the
> !(ctx->flags & IORING_SETUP_SQPOLL) check for the task_complete case.
> 
> 
> [...]

Applied, thanks!

[1/1] io_uring: simplify IORING_SETUP_DEFER_TASKRUN && !SQPOLL check
      commit: 7cb3a68376da0bc0afab8157223cb479c97de9ff

Best regards,
-- 
Jens Axboe




      reply	other threads:[~2026-02-10  3:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-06 21:58 [PATCH] io_uring: simplify IORING_SETUP_DEFER_TASKRUN && !SQPOLL check Caleb Sander Mateos
2026-02-10  3:16 ` 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=177069339234.478075.3124286738158436259.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=csander@purestorage.com \
    --cc=io-uring@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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