Re: [PATCH v2 2/2] dma: add IOMMU static calls with clear default ops
From: Leon Romanovsky
Date: Tue Jul 30 2024 - 04:16:52 EST
On Mon, Jul 29, 2024 at 07:15:18PM +0200, Christoph Hellwig wrote:
> On Mon, Jul 29, 2024 at 12:41:12PM +0000, Mostafa Saleh wrote:
> > Just out of curiosity, is there any observed improvement from that?
> > As from my experience the DMA-IOMMU path is quite dense so it won't
> > be senstive to such micro-optimizations.
>
> We are trying to gradually fix this. Part of that is adding not even
> more indirect calls for the next generation map API. But another totally
> unrelated part is that we can compile out the dma ops entirely for
> common configs, which I really want because people are badly abusing it.
Christoph,
This is good remark, should I add this to the commit message and send v5?
v4: https://lore.kernel.org/all/cover.1721818168.git.leon@xxxxxxxxxx/
Thanks