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)
commit2d091d62b1106e90f195599c67bf385ddedfc915
tree889d2bbe472fc751c416f5220bf53696d41cdbc7
parent9123c8ffce1610323ec9c0874fa0262353f41fc3
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