]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring: use private workqueue for exit work
authorJens Axboe <axboe@kernel.dk>
Mon, 1 Apr 2024 21:16:19 +0000 (15:16 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:36:03 +0000 (16:36 +0200)
commit6b9d49bcd97bfe2eed9ee69014fd977ed0d6b27d
treec8debba1bb3dd6f3f537240a92a58e078b4483a9
parentb392402d29ab50bfe2e958c71d66e1bc1ef15be4
io_uring: use private workqueue for exit work

commit 73eaa2b583493b680c6f426531d6736c39643bfb upstream.

Rather than use the system unbound event workqueue, use an io_uring
specific one. This avoids dependencies with the tty, which also uses
the system_unbound_wq, and issues flushes of said workqueue from inside
its poll handling.

Cc: stable@vger.kernel.org
Reported-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Tested-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Tested-by: Iskren Chernev <me@iskren.info>
Link: https://github.com/axboe/liburing/issues/1113
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
io_uring/io_uring.c