[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190430015521.27734-1-nicoleotsuka@gmail.com>
Date: Mon, 29 Apr 2019 18:55:19 -0700
From: Nicolin Chen <nicoleotsuka@...il.com>
To: hch@....de, robin.murphy@....com, m.szyprowski@...sung.com
Cc: vdumpa@...dia.com, linux@...linux.org.uk, catalin.marinas@....com,
will.deacon@....com, chris@...kel.net, jcmvbkbc@...il.com,
joro@...tes.org, dwmw2@...radead.org, tony@...mide.com,
akpm@...ux-foundation.org, sfr@...b.auug.org.au,
treding@...dia.com, keescook@...omium.org, iamjoonsoo.kim@....com,
wsa+renesas@...g-engineering.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-xtensa@...ux-xtensa.org, iommu@...ts.linux-foundation.org
Subject: [RFC/RFT PATCH 0/2] Optimize dma_*_from_contiguous calls
This series of patches try to optimize dma_*_from_contiguous calls:
PATCH-1 does some abstraction and cleanup.
PATCH-2 saves single pages and reduce fragmentations from CMA area.
Both two patches may impact the source of pages (CMA or normal)
depending on the use cases, so are being tagged with "RFC/RFT".
Please check their commit messages for detail.
Nicolin Chen (2):
dma-contiguous: Simplify dma_*_from_contiguous() function calls
dma-contiguous: Use fallback alloc_pages for single pages
arch/arm/mm/dma-mapping.c | 14 +++-----
arch/arm64/mm/dma-mapping.c | 11 +++---
arch/xtensa/kernel/pci-dma.c | 19 +++-------
drivers/iommu/amd_iommu.c | 20 +++--------
drivers/iommu/intel-iommu.c | 20 ++---------
include/linux/dma-contiguous.h | 15 +++-----
kernel/dma/contiguous.c | 64 ++++++++++++++++++++++------------
kernel/dma/direct.c | 24 +++----------
kernel/dma/remap.c | 11 ++----
9 files changed, 73 insertions(+), 125 deletions(-)
--
2.17.1
Powered by blists - more mailing lists