IO-Uring Archive mirror
 help / color / mirror / Atom feed
From: Gabriel Krisman Bertazi <krisman@suse.de>
To: axboe@kernel.dk
Cc: io-uring@vger.kernel.org, Gabriel Krisman Bertazi <krisman@suse.de>
Subject: [PATCH 0/2] io-wq: cancelation race fix and small cleanup in io-wq
Date: Mon, 15 Apr 2024 22:10:52 -0400	[thread overview]
Message-ID: <20240416021054.3940-1-krisman@suse.de> (raw)

Hi Jens,

Two small fixes to the wq path, closing a small race of cancelation with
wq work removal for execution.

Thank you,

Gabriel Krisman Bertazi (2):
  io-wq: write next_work before dropping acct_lock
  io-wq: Drop intermediate step between pending list and active work

 io_uring/io-wq.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

-- 
2.44.0


             reply	other threads:[~2024-04-16  2:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-16  2:10 Gabriel Krisman Bertazi [this message]
2024-04-16  2:10 ` [PATCH 1/2] io-wq: write next_work before dropping acct_lock Gabriel Krisman Bertazi
2024-04-16  2:10 ` [PATCH 2/2] io-wq: Drop intermediate step between pending list and active work Gabriel Krisman Bertazi
2024-04-17 14:29 ` [PATCH 0/2] io-wq: cancelation race fix and small cleanup in io-wq Jens Axboe
2024-04-17 14:29 ` Jens Axboe

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=20240416021054.3940-1-krisman@suse.de \
    --to=krisman@suse.de \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).