Commit a2a7cc32 authored by Stefan Metzmacher's avatar Stefan Metzmacher Committed by Jens Axboe

io_uring: io_sq_thread() no longer needs to reset current->pf_io_worker

This is done by create_io_thread() now.
Signed-off-by: default avatarStefan Metzmacher <metze@samba.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent ff244303
...@@ -6809,7 +6809,6 @@ static int io_sq_thread(void *data) ...@@ -6809,7 +6809,6 @@ static int io_sq_thread(void *data)
snprintf(buf, sizeof(buf), "iou-sqp-%d", sqd->task_pid); snprintf(buf, sizeof(buf), "iou-sqp-%d", sqd->task_pid);
set_task_comm(current, buf); set_task_comm(current, buf);
current->pf_io_worker = NULL;
if (sqd->sq_cpu != -1) if (sqd->sq_cpu != -1)
set_cpus_allowed_ptr(current, cpumask_of(sqd->sq_cpu)); set_cpus_allowed_ptr(current, cpumask_of(sqd->sq_cpu));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment