]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring/rsrc: get rid of io_mapped_ubuf->folio_mask
authorJens Axboe <axboe@kernel.dk>
Sun, 15 Sep 2024 14:51:20 +0000 (08:51 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 15 Sep 2024 15:15:19 +0000 (09:15 -0600)
commit8b0c6025a02ddec2b497f83e7d2f27a07f1d0653
tree11bbd4817766513c8d2fcc432a6a1ec6dcfc8dad
parent636119af94f2fbf3e4458be66a1bc740ba69ce6d
io_uring/rsrc: get rid of io_mapped_ubuf->folio_mask

We don't really need to cache this, let's reclaim 8 bytes from struct
io_mapped_ubuf and just calculate it when we need it. The only hot path
here is io_import_fixed().

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rsrc.c
io_uring/rsrc.h