public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET 0/2] io_uring futex cleanup and fix
@ 2025-06-04 16:53 Jens Axboe
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Jens Axboe @ 2025-06-04 16:53 UTC (permalink / raw)
  To: io-uring; +Cc: rtm, asml.silence

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-04 16:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-04 16:53 [PATCHSET 0/2] io_uring futex cleanup and fix Jens Axboe
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox