]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring/kbuf: turn io_buffer_list booleans into flags
authorJens Axboe <axboe@kernel.dk>
Fri, 9 Aug 2024 16:39:38 +0000 (10:39 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 25 Aug 2024 14:27:01 +0000 (08:27 -0600)
commita69307a55454060b5795e68d249157f2961049c2
treef8e10437c983c13d22d4f33c5efe3c89deeb50f3
parent566a424212d79b90e3a8fe6b5c7bd8f69174105c
io_uring/kbuf: turn io_buffer_list booleans into flags

We could just move these two and save some space, but in preparation
for adding another flag, turn them into flags first.

This saves 8 bytes in struct io_buffer_list, making it exactly half
a cacheline on 64-bit archs now rather than 40 bytes.

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