aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2021-04-25 14:32:23 +0100
committerJens Axboe <[email protected]>2021-04-25 10:14:04 -0600
commit41edf1a5ec967bf4bddedb83c48e02dfea8315b4 (patch)
treee5a3dcbdf2fd78d4dabb691e8c9da9040a459b30 /include/linux/overflow.h
parentc3bdad0271834214be01c1d687c262bf80da6eb0 (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