Searched hist:f5d632d15e9e0a037339601680d82bb840f85d10 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/block/ |
H A D | blk-map.c | diff f5d632d15e9e0a037339601680d82bb840f85d10 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 D | blk-mq.h | diff f5d632d15e9e0a037339601680d82bb840f85d10 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>
|