]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring/futex: ensure partial wakes are appropriately dequeued
authorJens Axboe <axboe@kernel.dk>
Mon, 20 Apr 2026 20:24:50 +0000 (14:24 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Apr 2026 18:19:06 +0000 (12:19 -0600)
commit7faaa6812aba550c24bffdfd9399568223c8a477
tree541dbe26355aab846f079d20b26f22ca2ce0c9c6
parent79968834558774bdc5de4b5503d412df632646aa
io_uring/futex: ensure partial wakes are appropriately dequeued

If a FUTEX_WAITV vectored operation is only partially woken, we
should call __futex_wake_mark() on the queue to account for that.
If not, then a later wakeup will wake the same entry, rather than
the next one in line.

Fixes: 8f350194d5cfd ("io_uring: add support for vectored futex waits")
Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/futex.c