Re: [PATCH] nvme-pci: 512 byte dma pool segment quirk

From: Christoph Hellwig
Date: Fri Nov 08 2024 - 02:08:27 EST


On Thu, Nov 07, 2024 at 10:19:30AM -0700, Keith Busch wrote:
> We have a constant expression currently, and this is changing it a full
> division in the IO path. :(

Yeah. Given that the device is broken I'd just have it pay the price
and never use the small prp pool instead, which just adds a single
extra branch to the fast path.