All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: io-uring@vger.kernel.org, Pavel Begunkov <asml.silence@gmail.com>
Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Subject: Re: [PATCH for-next] io_uring: fix not released cached task refs
Date: Sun, 09 Jan 2022 09:23:13 -0700	[thread overview]
Message-ID: <164174539343.69043.6549592398281965008.b4-ty@kernel.dk> (raw)
In-Reply-To: <69f226b35fbdb996ab799a8bbc1c06bf634ccec1.1641688805.git.asml.silence@gmail.com>

On Sun, 9 Jan 2022 00:53:22 +0000, Pavel Begunkov wrote:
> tctx_task_work() may get run after io_uring cancellation and so there
> will be no one to put cached in tctx task refs that may have been added
> back by tw handlers using inline completion infra, Call
> io_uring_drop_tctx_refs() at the end of the main tw handler to release
> them.
> 
> 
> [...]

Applied, thanks!

[1/1] io_uring: fix not released cached task refs
      commit: 3cc7fdb9f90a25ae92250bf9e6cf3b9556b230e9

Best regards,
-- 
Jens Axboe



  reply	other threads:[~2022-01-09 16:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-09  0:53 [PATCH for-next] io_uring: fix not released cached task refs Pavel Begunkov
2022-01-09 16:23 ` Jens Axboe [this message]
2022-01-10 13:20   ` Lukas Bulwahn

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=164174539343.69043.6549592398281965008.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=asml.silence@gmail.com \
    --cc=io-uring@vger.kernel.org \
    --cc=lukas.bulwahn@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.