]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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, 23 Dec 2024 15:17:16 +0000 (08:17 -0700)
commit4b851d20d325dc59f9abdce55d42dc4b68179db0
treeb6fa7b7e689a65c3306b421ac456a714364e2059
parenta90558b36cceeb546c19b3cd17ed94f9810f8eec
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