summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-10-14 18:10:16 +0300
committerJens Axboe <axboe@kernel.dk>2021-10-19 14:49:55 +0300
commitc88598a92a587109d915b4d97831bcea774c8b6f (patch)
treed94e766b3fd860c0829c907f4e1d1c6f2432fba2 /tools/perf/scripts/python/event_analyzing_sample.py
parent538941e2681c76ba6d6a7dd28ce691a9e02a9bdf (diff)
downloadlinux-c88598a92a587109d915b4d97831bcea774c8b6f.tar.xz
io_uring: optimise read/write iov state storing
Currently io_read() and io_write() keep separate pointers to an iter and to struct iov_iter_state, which is not great for register spilling and requires more on-stack copies. They are both either on-stack or in req->async_data at the same time, so use struct io_rw_state and keep a pointer only to it, so having all the state with just one pointer. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/5c5e7ffd7dc25fc35075c70411ba99df72f237fa.1634144845.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions