Home
last modified time | relevance | path

Searched hist:edd47826 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/io_uring/
H A Drsrc.cedd47826 Wed Feb 22 08:36:48 CST 2023 Pavel Begunkov <asml.silence@gmail.com> io_uring/rsrc: disallow multi-source reg buffers

If two or more mappings go back to back to each other they can be passed
into io_uring to be registered as a single registered buffer. That would
even work if mappings came from different sources, e.g. it's possible to
mix in this way anon pages and pages from shmem or hugetlb. That is not
a problem but it'd rather be less prone if we forbid such mixing.

Cc: <stable@vger.kernel.org>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>