projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5730b27
)
io_uring: kill unnecessary io_run_ctx_fallback() in io_ring_exit_work()
author
Jens Axboe
<axboe@kernel.dk>
Sun, 28 Feb 2021 19:22:37 +0000
(12:22 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 4 Mar 2021 13:36:28 +0000
(06:36 -0700)
We already run the fallback task_work in io_uring_try_cancel_requests(),
no need to duplicate at ring exit explicitly.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
patch
|
blob
|
history
diff --git
a/fs/io_uring.c
b/fs/io_uring.c
index
d48be0c
..
7cad82b
100644
(file)
--- a/
fs/io_uring.c
+++ b/
fs/io_uring.c
@@
-8519,7
+8519,6
@@
static void io_ring_exit_work(struct work_struct *work)
*/
do {
io_uring_try_cancel_requests(ctx, NULL, NULL);
- io_run_ctx_fallback(ctx);
} while (!wait_for_completion_timeout(&ctx->ref_comp, HZ/20));
io_ring_ctx_free(ctx);
}