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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>


Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>

-ck






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux