]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/rsrc: export io_check_coalesce_buffer
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 29 Nov 2024 13:34:23 +0000 (13:34 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Dec 2024 15:17:15 +0000 (08:17 -0700)
commit7427b0b49ad51304c041ffb8c413f342e148cdea
treee0107370a54f2a2a36ec683bb72487a6de64f7a4
parent943d0609d0571af092dc13456cbca70351e4d20e
io_uring/rsrc: export io_check_coalesce_buffer

io_try_coalesce_buffer() is a useful helper collecting useful info about
a set of pages, I want to reuse it for analysing ring/etc. mappings. I
don't need the entire thing and only interested if it can be coalesced
into a single page, but that's better than duplicating the parsing.

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