Thread (9 messages) 9 messages, 3 authors, 2022-08-07

Re: [PATCH 1/3] block: shrink rq_map_data a bit

From: Chaitanya Kulkarni <hidden>
Date: 2022-08-07 09:26:40

On 8/6/22 08:20, Jens Axboe wrote:
We don't need full ints for several of these members. Change the
page_order and nr_entries to unsigned shorts, and the true/false from_user
and null_mapped to booleans.

This shrinks the struct from 32 to 24 bytes on 64-bit archs.

Signed-off-by: Jens Axboe <axboe@kernel.dk>

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>

-ck

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help