Skip to content

Commit 8de11cd

Browse files
Dylan Yudakenaxboe
authored andcommitted
io_uring: use io_run_local_work_locked helper
prefer to use io_run_local_work_locked helper for consistency Signed-off-by: Dylan Yudaken <dylany@meta.com> Link: https://lore.kernel.org/r/20221027144429.3971400-2-dylany@meta.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent cc767e7 commit 8de11cd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

io_uring/io_uring.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,8 +1446,7 @@ static int io_iopoll_check(struct io_ring_ctx *ctx, long min)
14461446
io_task_work_pending(ctx)) {
14471447
u32 tail = ctx->cached_cq_tail;
14481448

1449-
if (!llist_empty(&ctx->work_llist))
1450-
__io_run_local_work(ctx, true);
1449+
(void) io_run_local_work_locked(ctx);
14511450

14521451
if (task_work_pending(current) ||
14531452
wq_list_empty(&ctx->iopoll_list)) {

0 commit comments

Comments
 (0)