Home
last modified time | relevance | path

Searched hist:f5d632d1 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/block/
H A Dblk-map.cf5d632d1 Fri Aug 05 17:39:04 CDT 2022 Jens Axboe <axboe@kernel.dk> block: shrink rq_map_data a bit

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.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/openbmc/linux/include/linux/
H A Dblk-mq.hf5d632d1 Fri Aug 05 17:39:04 CDT 2022 Jens Axboe <axboe@kernel.dk> block: shrink rq_map_data a bit

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.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>