diff options
| author | 2022-06-22 06:40:23 -0700 | |
|---|---|---|
| committer | 2022-07-24 18:39:15 -0600 | |
| commit | f88262e60bb9cb5740891672ce9f405e7f9393e5 (patch) | |
| tree | bca01661645c35ef7958fd5b0a5f9438d9b9b477 /include/linux/start_kernel.h | |
| parent | io_uring: remove __io_req_task_work_add (diff) | |
io_uring: lockless task list
With networking use cases we see contention on the spinlock used to
protect the task_list when multiple threads try and add completions at once.
Instead we can use a lockless list, and assume that the first caller to
add to the list is responsible for kicking off task work.
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220622134028.2013417-4-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions
