From: Caleb Sander Mateos <csander@purestorage.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: io-uring <io-uring@vger.kernel.org>
Subject: Re: [PATCH for-next] io_uring: correct size of overflow CQE calculation
Date: Wed, 10 Sep 2025 11:06:25 -0700 [thread overview]
Message-ID: <CADUfDZqG6pAfHDJHn5othpGRG1pcv9v=HxrS+gn5v+gzDWwd3Q@mail.gmail.com> (raw)
In-Reply-To: <f2ab91d9-0d62-4bae-8efc-aece69d407d7@kernel.dk>
On Wed, Sep 10, 2025 at 9:42 AM Jens Axboe <axboe@kernel.dk> wrote:
>
> If a 32b CQE is required, don't double the size of the overflow struct,
> just add the size of the io_uring_cqe addition that is needed. This
> avoids allocating too much memory, as the io_overflow_cqe size includes
> the list member required to queue them too.
>
> Fixes: e26dca67fde1 ("io_uring: add support for IORING_SETUP_CQE_MIXED")
> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
prev parent reply other threads:[~2025-09-10 20:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-10 16:41 [PATCH for-next] io_uring: correct size of overflow CQE calculation Jens Axboe
2025-09-10 18:06 ` Caleb Sander Mateos [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='CADUfDZqG6pAfHDJHn5othpGRG1pcv9v=HxrS+gn5v+gzDWwd3Q@mail.gmail.com' \
--to=csander@purestorage.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