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, 18 Aug 2024 20:40:21 +0000 (14:40 -0600)
commit062c0e4075b838f6fc53b5ad0660ed7bec7bd464
tree0d622c84a169ef2bbb24135cbcdef934e3066200
parent253dc3417613d4286180ae38588d594c7ff2a851
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