public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: io-uring@vger.kernel.org
Cc: rtm@csail.mit.edu, asml.silence@gmail.com
Subject: [PATCHSET 0/2] io_uring futex cleanup and fix
Date: Wed,  4 Jun 2025 10:53:33 -0600	[thread overview]
Message-ID: <20250604165647.293646-1-axboe@kernel.dk> (raw)

Hi,

Patch 1 is just a cleanup that I came across while looking into an issue
and patch 2 fixes and issue introduced in this merge window with io_uring
futex handling. Patch 2 works around the fact that since:

commit 80367ad01d93ac781b0e1df246edaf006928002f
Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date:   Wed Apr 16 18:29:12 2025 +0200

    futex: Add basic infrastructure for local task local hash

futex is reliant on ->mm staying alive for the duration of the futex
or futexv wait requests, if those requests are using FUTEX2_PRIVATE.
These types of futex requests use a per-task private hash queue, and
will actively remove those at __mmput() time.

 io_uring/futex.c    | 11 ++++++-----
 io_uring/io_uring.c |  7 ++++++-
 io_uring/io_uring.h |  1 +
 3 files changed, 13 insertions(+), 6 deletions(-)

-- 
Jens Axboe


             reply	other threads:[~2025-06-04 16:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-04 16:53 Jens Axboe [this message]
2025-06-04 16:53 ` [PATCH 1/2] io_uring/futex: get rid of struct io_futex addr union Jens Axboe
2025-06-04 16:53 ` [PATCH 2/2] io_uring/futex: mark wait requests as inflight 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=20250604165647.293646-1-axboe@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=asml.silence@gmail.com \
    --cc=io-uring@vger.kernel.org \
    --cc=rtm@csail.mit.edu \
    /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