]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: don't vmalloc rsrc tags
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 14 Jun 2021 01:36:21 +0000 (02:36 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 Jun 2021 14:23:13 +0000 (08:23 -0600)
commit9a8d0998159630eaeb2e1778906b1bd08b40b6ef
tree889d2bbe472fc751c416f5220bf53696d41cdbc7
parent2b7d4b20a83d8f5ff85c4d78ab652bbb8504ffed
io_uring: don't vmalloc rsrc tags

We don't really need vmalloc for keeping tags, it's not a hot path and
is there out of convenience, so replace it with two level tables to not
litter kernel virtual memory mappings.

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