diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2026-08-07 14:19:32 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-08-15 17:29:57 -0600 |
| commit | ef0f0e10ee66d9c96298b5331515f46ab074957e (patch) | |
| tree | b13cecc5719f659a472f1853eb4ec2da121ebc8f /tools/perf/scripts/python/task-analyzer.py | |
| parent | 7d5d94fe9af1b402271236ff8536252789f3eb17 (diff) | |
io_uring/zcrx: keep array of areas
Currently, we have only a one area per zcrx instance, and struct
io_zcrx_ifq stores a single pointer. To prepare for adding more areas,
replace it with an array of areas.
We'll be creating them at runtime, and the array is protected by 3
locks: ->pp_lock, ->alloc_lock and ->rq.lock. It takes all of them when
switching arrays, and readers should hold either of them.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://patch.msgid.link/d186adfa0ea26f651804cffef77d477f257eb404.1786108672.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
