aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2021-04-25 14:32:24 +0100
committerJens Axboe <[email protected]>2021-04-25 10:14:04 -0600
commiteae071c9b4cefbcc3f985c5abf9a6e32c1608ca9 (patch)
treeb80ef1109fc77602ee2ab118c8321a9e27e605ba /scripts
parent41edf1a5ec967bf4bddedb83c48e02dfea8315b4 (diff)
io_uring: prepare fixed rw for dynanic buffers
With dynamic buffer updates, registered buffers in the table may change at any moment. First of all we want to prevent future races between updating and importing (i.e. io_import_fixed()), where the latter one may happen without uring_lock held, e.g. from io-wq. Save the first loaded io_mapped_ubuf buffer and reuse. Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/21a2302d07766ae956640b6f753292c45200fe8f.1619356238.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions