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

Keith Busch kbusch at fb.com
Fri Jul 29 09:28:46 PDT 2022


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(-)

-- 
2.30.2




More information about the Linux-nvme mailing list