]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add local task_work run helper that is entered locked
authorJens Axboe <axboe@kernel.dk>
Sat, 3 Sep 2022 16:09:22 +0000 (10:09 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 16:30:43 +0000 (10:30 -0600)
commitea754966a9f387679306676adc3fd74305192fd5
treec0c504bb905bc4ab2f2474f8231188763d5f09ad
parent045c3316c27f8c82b504eeed34c9b49a2a4aef5d
io_uring: add local task_work run helper that is entered locked

We have a few spots that drop the mutex just to run local task_work,
which immediately tries to grab it again. Add a helper that just passes
in whether we're locked already.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/io_uring.h