diff options
author | Pavel Begunkov <[email protected]> | 2021-04-25 14:32:23 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-04-25 10:14:04 -0600 |
commit | 41edf1a5ec967bf4bddedb83c48e02dfea8315b4 (patch) | |
tree | e5a3dcbdf2fd78d4dabb691e8c9da9040a459b30 /include/linux/overflow.h | |
parent | c3bdad0271834214be01c1d687c262bf80da6eb0 (diff) |
io_uring: keep table of pointers to ubufs
Instead of keeping a table of ubufs convert them into pointers to ubuf,
so we can atomically read one pointer and be sure that the content of
ubuf won't change.
Because it was already dynamically allocating imu->bvec, throw both
imu and bvec into a single structure so they can be allocated together.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/b96efa4c5febadeccf41d0e849ac099f4c83b0d3.1619356238.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions