linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Jens Axboe <axboe@kernel.dk>
Cc: Olivier Langlois <olivier@trillion01.com>,
	Pavel Begunkov <asml.silence@gmail.com>,
	io-uring@vger.kernel.org, linux-kernel@vger.kernel.org,
	stable@vger.kernel.org
Subject: Re: [PATCH io_uring backport to 5.13.y] io_uring: Fix race condition when sqp thread goes to sleep
Date: Mon, 26 Jul 2021 09:42:51 +0200	[thread overview]
Message-ID: <YP5nexpekGSGrjAM@kroah.com> (raw)
In-Reply-To: <ca9be2ad-711e-51a3-9c5d-9472a1fad625@kernel.dk>

On Sun, Jul 25, 2021 at 01:10:22PM -0600, Jens Axboe wrote:
> On 7/24/21 11:07 PM, Olivier Langlois wrote:
> > [ Upstream commit 997135017716 ("io_uring: Fix race condition when sqp thread goes to sleep") ]
> > 
> > If an asynchronous completion happens before the task is preparing
> > itself to wait and set its state to TASK_INTERRUPTIBLE, the completion
> > will not wake up the sqp thread.
> 
> Looks good to me - Greg, would you mind queueing this one up?
> 

Now queued up, thanks!

greg k-h

      reply	other threads:[~2021-07-26  7:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-25  5:07 Olivier Langlois
2021-07-25 19:10 ` Jens Axboe
2021-07-26  7:42   ` Greg KH [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=YP5nexpekGSGrjAM@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=asml.silence@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=io-uring@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olivier@trillion01.com \
    --cc=stable@vger.kernel.org \
    --subject='Re: [PATCH io_uring backport to 5.13.y] io_uring: Fix race condition when sqp thread goes to sleep' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).