public inbox for [email protected]
 help / color / mirror / Atom feed
From: "Drew DeVault" <[email protected]>
To: "Jens Axboe" <[email protected]>, <[email protected]>
Subject: Re: Consistently reproducible deadlock with simple io_uring program
Date: Sat, 15 Aug 2020 22:38:00 -0400	[thread overview]
Message-ID: <C4Y2LXWFIUZX.47V7HCX3WU5D@homura> (raw)
In-Reply-To: <[email protected]>

On Sat Aug 15, 2020 at 10:37 PM EDT, Jens Axboe wrote:
> This should be fixed by this one:
>
> https://git.kernel.dk/cgit/linux-block/commit/?h=io_uring-5.9&id=d4e7cd36a90e38e0276d6ce0c20f5ccef17ec38c
>
> which will go into 5.7/5.8 stable shortly. Affected files are the ones
> that use double waitqueues at the same time for polling, which are
> mostly just tty...

Thanks, I'll give this patch a try. I can trivially verify that it works
correctly if stdin is not a TTY, I should have tried that myself. Do you
know of any userspace workarounds for the problem that I could try on
older kernels?

  reply	other threads:[~2020-08-16  2:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-16  2:12 Consistently reproducible deadlock with simple io_uring program Drew DeVault
2020-08-16  2:37 ` Jens Axboe
2020-08-16  2:38   ` Drew DeVault [this message]
2020-08-16  2:40     ` Jens Axboe
2020-08-16  2:41       ` Drew DeVault
2020-08-16 15:17   ` Drew DeVault

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=C4Y2LXWFIUZX.47V7HCX3WU5D@homura \
    [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