Re: [RESEND] dma-mapping: benchmark: Extract a common header file for map_benchmark definition

2022-03-07 Thread Christoph Hellwig
On Tue, Mar 08, 2022 at 02:28:57PM +0800, Tian Tao wrote: > kernel/dma/map_benchmark.c and selftests/dma/dma_map_benchmark.c > have duplicate map_benchmark definitions, which tends to lead to > inconsistent changes to map_benchmark on both sides, extract a > common header file to avoid this problem

[RESEND] dma-mapping: benchmark: Extract a common header file for map_benchmark definition

2022-03-07 Thread Tian Tao via iommu
kernel/dma/map_benchmark.c and selftests/dma/dma_map_benchmark.c have duplicate map_benchmark definitions, which tends to lead to inconsistent changes to map_benchmark on both sides, extract a common header file to avoid this problem. Signed-off-by: Tian Tao Acked-by: Barry Song Reviewed-by: Shu