[PATCH 5/7] nvme-pci: use a better encoding for small prp pool allocations

Christoph Hellwig hch at lst.de
Tue May 13 00:40:41 PDT 2025


On Tue, May 13, 2025 at 10:39:50AM +0300, Leon Romanovsky wrote:
> > +static inline struct dma_pool *nvme_dma_pool(struct nvme_queue *nvmeq,
> > +		struct nvme_iod *iod)
> > +{
> 
> You probably want __always_inline and not inline here.

I avoid that if I can.  People trying to use non-optimizing compiler
flag deserve what they asked for :)




More information about the Linux-nvme mailing list