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

Chaitanya Kulkarni chaitanyak at nvidia.com
Thu Apr 27 15:59:26 PDT 2023


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 ?

-ck




More information about the Linux-nvme mailing list