提交 8de11cdc 编写于 作者: D Dylan Yudaken 提交者: Jens Axboe

io_uring: use io_run_local_work_locked helper

prefer to use io_run_local_work_locked helper for consistency
Signed-off-by: NDylan Yudaken <dylany@meta.com>
Link: https://lore.kernel.org/r/20221027144429.3971400-2-dylany@meta.comSigned-off-by: NJens Axboe <axboe@kernel.dk>
上级 cc767e7c
......@@ -1446,8 +1446,7 @@ static int io_iopoll_check(struct io_ring_ctx *ctx, long min)
io_task_work_pending(ctx)) {
u32 tail = ctx->cached_cq_tail;
if (!llist_empty(&ctx->work_llist))
__io_run_local_work(ctx, true);
(void) io_run_local_work_locked(ctx);
if (task_work_pending(current) ||
wq_list_empty(&ctx->iopoll_list)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册