diff options
author | Pavel Begunkov <[email protected]> | 2022-10-06 21:42:33 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-10-12 16:30:56 -0600 |
commit | 44f87745d5f24a3cdf0548bf1d84fbb7316ce229 (patch) | |
tree | c4de76d2b6b2ab7c696c8cc31cc87b2c088e197d /drivers/fpga/fpga-mgr.c | |
parent | fc86f9d3bb4904117eea70347d323fde34a47c79 (diff) |
io_uring: optimise locking for local tw with submit_wait
Running local task_work requires taking uring_lock, for submit + wait we
can try to run them right after submit while we still hold the lock and
save one lock/unlokc pair. The optimisation was implemented in the first
local tw patches but got dropped for simplicity.
Suggested-by: Dylan Yudaken <[email protected]>
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/281fc79d98b5d91fe4778c5137a17a2ab4693e5c.1665088876.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions