linux/io_uring
Jens Axboe 0e388fce7a io_uring: hold uring mutex around poll removal
Snipped from commit 9ca9fb24d5 upstream.

While reworking the poll hashing in the v6.0 kernel, we ended up
grabbing the ctx->uring_lock in poll update/removal. This also fixed
a bug with linked timeouts racing with timeout expiry and poll
removal.

Bring back just the locking fix for that.

Reported-and-tested-by: Querijn Voet <querijnqyn@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-21 15:59:14 +02:00
..
io_uring.c io_uring: hold uring mutex around poll removal 2023-06-21 15:59:14 +02:00
io-wq.c io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL 2023-01-24 07:22:43 +01:00
io-wq.h
Makefile