diff options
| author | Pavel Begunkov <[email protected]> | 2020-07-12 20:41:05 +0300 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-07-24 12:55:44 -0600 |
| commit | 1400e69705baf98d1c9cb73b592a3a68aab1d852 (patch) | |
| tree | a516104873a8ccbd16b3c31a5f086dc9a7a94052 /tools/perf/scripts/python | |
| parent | 270a5940700bb6cf9abf36ea10cf1fa0d453aa7a (diff) | |
io_uring: use more specific type in rcv/snd msg cp
send/recv msghdr initialisation works with struct io_async_msghdr, but
pulls the whole struct io_async_ctx for no reason. That complicates it
with composite accessing, e.g. io->msg.
Use and pass the most specific type, which is struct io_async_msghdr.
It is the larget field in union io_async_ctx and doesn't save stack
space, but looks clearer.
The most of the changes are replacing "io->msg." with "iomsg->"
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions