public inbox for [email protected]
 help / color / mirror / Atom feed
From: Jens Axboe <[email protected]>
To: [email protected], Pavel Begunkov <[email protected]>
Subject: Re: [PATCH 1/1] io_uring: clean rings on NO_MMAP alloc fail
Date: Wed, 13 Mar 2024 14:27:31 -0600	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <9ff6cdf91429b8a51699c210e1f6af6ea3f8bdcf.1710255382.git.asml.silence@gmail.com>


On Tue, 12 Mar 2024 14:56:27 +0000, Pavel Begunkov wrote:
> We make a few cancellation judgements based on ctx->rings, so let's
> zero it afer deallocation for IORING_SETUP_NO_MMAP just like it's
> done with the mmap case. Likely, it's not a real problem, but zeroing
> is safer and better tested.
> 
> 

Applied, thanks!

[1/1] io_uring: clean rings on NO_MMAP alloc fail
      commit: cef59d1ea7170ec753182302645a0191c8aa3382

Best regards,
-- 
Jens Axboe




      reply	other threads:[~2024-03-13 20:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-12 14:56 [PATCH 1/1] io_uring: clean rings on NO_MMAP alloc fail Pavel Begunkov
2024-03-13 20:27 ` 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=171036165147.297831.6141604399654227492.b4-ty@kernel.dk \
    [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