Re: [PATCH v3 1/1] swiotlb: Reduce swiotlb pool lookups
From: Christoph Hellwig
Date: Tue Jul 09 2024 - 07:51:17 EST
On Tue, Jul 09, 2024 at 11:48:08AM +0000, Michael Kelley wrote:
> Your tweaks look fine to me. Evidently I misunderstood your
> preference in our previous exchange about #ifdef vs. IS_ENABLED()
> in swiotlb_find_pool(), and the effect on dma_uses_io_tlb.
Actually I actively mislead you. Yes, I prefer the IS_ENABLED, but
I missed that it would require make the field available unconditionally,
which is not worth the tradeoff. Sorry for that.