Re: [PATCH] dma-mapping: bypass indirect calls for dma-direct

From: Jesper Dangaard Brouer
Date: Thu Dec 06 2018 - 12:40:48 EST


On Thu, 6 Dec 2018 07:37:20 -0800
Christoph Hellwig <hch@xxxxxx> wrote:

> Avoid expensive indirect calls in the fast path DMA mapping
> operations by directly calling the dma_direct_* ops if we are using
> the directly mapped DMA operations.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> include/linux/dma-direct.h | 17 -----
> include/linux/dma-mapping.h | 138 +++++++++++++++++++++++++++++++-----
> kernel/dma/direct.c | 13 ++--
> 3 files changed, 127 insertions(+), 41 deletions(-)

Hi Christoph,

Is this patch to be applied on top of the other (41) patches I just
tested with my XDP forward workload?

--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer