[PATCHv2 0/5] nvme-pci: iod optimisations

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Aug 1 22:59:06 PDT 2022


On 7/29/22 09:28, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
> 
> The series adjusts the struct nvme_iod fields for optimal sizing. The
> end result on 64-bit arch removes 24 bytes, from 152 down to 128. We
> typically allocate many thousands of these, and the cache aligned size
> is a nice bonus.
> 
> Keith Busch (5):
>    nvme-pci: remove nvme_queue from nvme_iod
>    nvme-pci: iod's 'aborted' is a bool
>    nvme-pci: iod npages fits in s8
>    nvme-pci: iod nents fits in u8
>    nvme-pci: move iod dma_len fill gaps
> 
>   drivers/nvme/host/pci.c | 67 +++++++++++++++++++++--------------------
>   1 file changed, 34 insertions(+), 33 deletions(-)
> 

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list