io_uring/memmap: add IO_REGION_F_SINGLE_REF
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 29 Nov 2024 13:34:30 +0000 (13:34 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Dec 2024 13:58:14 +0000 (06:58 -0700)
commit2d34427a257fdd1cb50e0c4fa869cb024492d343
treea395210f148766678eeaa585e7b1924e6896fffe
parent9a123dadffb9b87e8f1ad9af9b3f800a22a9c277
io_uring/memmap: add IO_REGION_F_SINGLE_REF

Kernel allocated compound pages will have just one reference for the
entire page array, add a flag telling io_free_region about that.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/a7abfa7535e9728d5fcade29a1ea1605ec2c04ce.1732886067.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/memmap.c