Re: [PATCH v6 00/17] mm, dma, arm64: Reduce ARCH_KMALLOC_MINALIGN to 8
From: Petr Tesařík <hidden>
Date: 2023-06-09 08:12:04
Also in:
linux-iommu, linux-mm
From: Petr Tesařík <hidden>
Date: 2023-06-09 08:12:04
Also in:
linux-iommu, linux-mm
On Thu, 8 Jun 2023 14:29:45 -0700 Isaac Manjarres [off-list ref] wrote:
[...] P.S. I noticed that the trace_swiotlb_bounced() tracepoint may not be invoked even though bouncing occurs. For example, in the dma-iommu path, swiotlb_tbl_map_single() is called when bouncing, instead of swiotlb_map(), which is what ends up calling trace_swiotlb_bounced(). Would it make sense to move the call to trace_swiotlb_bounced() to swiotlb_tbl_map_single() since that function is always invoked?
Definitely, if you ask me. I believe the change was merely forgotten in
commit eb605a5754d0 ("swiotlb: add swiotlb_tbl_map_single library
function").
Let me take the author into Cc. Plus Konrad, who built further on that
commit, may also have an opinion.
Petr T
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel