public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Begunkov <asml.silence@gmail.com>
To: Jens Axboe <axboe@kernel.dk>, io-uring@vger.kernel.org
Subject: Re: [PATCH 1/1] io_uring: delay sqarray static branch disablement
Date: Sun, 15 Feb 2026 21:56:40 +0000	[thread overview]
Message-ID: <386f4b36-0c53-4ad7-9f71-dff53345ec4f@gmail.com> (raw)
In-Reply-To: <ed8a3eca-2e97-4ac5-a63e-81563c57546c@kernel.dk>

On 2/15/26 21:48, Jens Axboe wrote:
> On 2/15/26 2:29 PM, Pavel Begunkov wrote:
>> io_key_has_sqarray static branch can be easily switched
>> on/off by the user. Prevent abuse and defer for a bit when it's
>> disabled.
> 
> Can we get something in here for the reason for why the change
> is being made? The commit message really doesn't explain any
> of this.

It appeared to be pretty self-explanatory, I can expand, but in
short you can spam with

while (1) {
	create_ring_with_sq_array();
	kill_ring();
}

and each iteration it'll be patching kernel code, and that
can be very disruptive for the entire system depending on arch
and how removal is synchronized.

-- 
Pavel Begunkov


  reply	other threads:[~2026-02-15 21:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-15 21:29 [PATCH 1/1] io_uring: delay sqarray static branch disablement Pavel Begunkov
2026-02-15 21:48 ` Jens Axboe
2026-02-15 21:56   ` Pavel Begunkov [this message]
2026-02-15 21:59     ` Jens Axboe

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=386f4b36-0c53-4ad7-9f71-dff53345ec4f@gmail.com \
    --to=asml.silence@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=io-uring@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