summaryrefslogtreecommitdiff
path: root/io_uring/tctx.c
diff options
context:
space:
mode:
authorDylan Yudaken <dylany@fb.com>2022-06-22 06:40:21 -0700
committerJens Axboe <axboe@kernel.dk>2022-07-24 18:39:15 -0600
commited5ccb3beeba0cadb0fcf353ae192021dfecf252 (patch)
treeb4586cdd66bb805d9806febb837a107773351a20 /io_uring/tctx.c
parent024f15e033a52660a045947ee56c7e842180fa81 (diff)
downloadlwn-ed5ccb3beeba0cadb0fcf353ae192021dfecf252.tar.gz
lwn-ed5ccb3beeba0cadb0fcf353ae192021dfecf252.zip
io_uring: remove priority tw list optimisation
This optimisation has some built in assumptions that make it easy to introduce bugs. It also does not have clear wins that make it worth keeping. Signed-off-by: Dylan Yudaken <dylany@fb.com> Link: https://lore.kernel.org/r/20220622134028.2013417-2-dylany@fb.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/tctx.c')
-rw-r--r--io_uring/tctx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/tctx.c b/io_uring/tctx.c
index 9b30fb0d3603..7a68ba9beec3 100644
--- a/io_uring/tctx.c
+++ b/io_uring/tctx.c
@@ -88,7 +88,6 @@ __cold int io_uring_alloc_task_context(struct task_struct *task,
task->io_uring = tctx;
spin_lock_init(&tctx->task_lock);
INIT_WQ_LIST(&tctx->task_list);
- INIT_WQ_LIST(&tctx->prio_task_list);
init_task_work(&tctx->task_work, tctx_task_work);
return 0;
}