Re: [PATCH] nvmet: Reorder fields in 'struct nvmet_ns'

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

 



Le 28/04/2023 à 01:07, Chaitanya Kulkarni a écrit :
On 4/27/23 16:01, Jens Axboe wrote:
On 4/27/23 4:59?PM, Chaitanya Kulkarni wrote:
On 4/27/23 12:47, Christophe JAILLET wrote:
Group some variables based on their sizes to reduce holes.
On x86_64, this shrinks the size of 'struct nvmet_ns' from 520 to 512
bytes.

Although this looks good, we at least need to document what
happens on other arch(s) which are not mentioned in the
commit log ? is there a possibility that someone might come
up with the contradictory data in future for the arch(s) which
arch that are not mentioned here ?
The change is certainly not going to make things _worse_ for any arch,
so I think that's somewhat of a pointless exercise and an unreasonable
ask for something that makes sense on 64-bit arm/x86 and saves half the
space.


disregard my comment, looks good...

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>

-ck



Hi,


All my other nvmet patches have reached -next today, but this one seems to be missing.

So this is a gentle reminder, in case it got lost somewhere.

CJ



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux