aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Dylan Yudaken <dylany@fb.com> 2022-06-22 06:40:25 -0700
committerGravatar Jens Axboe <axboe@kernel.dk> 2022-07-24 18:39:15 -0600
commit3a0c037b0e16e38cf5d36d2ebc259e0ae644aaf4 (patch)
tree732709a212417c60ee42eabc36859d59538f2ac3 /include
parentio_uring: introduce llist helpers (diff)
downloadlinux-3a0c037b0e16e38cf5d36d2ebc259e0ae644aaf4.tar.gz
linux-3a0c037b0e16e38cf5d36d2ebc259e0ae644aaf4.tar.bz2
linux-3a0c037b0e16e38cf5d36d2ebc259e0ae644aaf4.zip
io_uring: batch task_work
Batching task work up is an important performance optimisation, as task_work_add is expensive. In order to keep the semantics replace the task_list with a fake node while processing the old list, and then do a cmpxchg at the end to see if there is more work. Signed-off-by: Dylan Yudaken <dylany@fb.com> Link: https://lore.kernel.org/r/20220622134028.2013417-6-dylany@fb.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions