All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC/RFT PATCH 0/2] Optimize dma_*_from_contiguous calls
@ 2019-04-30  1:55 ` Nicolin Chen
  0 siblings, 0 replies; 30+ messages in thread
From: Nicolin Chen @ 2019-04-30  1:55 UTC (permalink / raw)
  To: hch, robin.murphy, m.szyprowski
  Cc: vdumpa, linux, catalin.marinas, will.deacon, chris, jcmvbkbc,
	joro, dwmw2, tony, akpm, sfr, treding, keescook, iamjoonsoo.kim,
	wsa+renesas, linux-arm-kernel, linux-kernel, linux-xtensa, iommu

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


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2019-04-30 19:48 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-30  1:55 [RFC/RFT PATCH 0/2] Optimize dma_*_from_contiguous calls Nicolin Chen
2019-04-30  1:55 ` Nicolin Chen
2019-04-30  1:55 ` Nicolin Chen
2019-04-30  1:55 ` Nicolin Chen
2019-04-30  1:55 ` [RFC/RFT PATCH 1/2] dma-contiguous: Simplify dma_*_from_contiguous() function calls Nicolin Chen
2019-04-30  1:55   ` Nicolin Chen
2019-04-30  1:55   ` Nicolin Chen
2019-04-30  1:55   ` Nicolin Chen
2019-04-30 10:56   ` Christoph Hellwig
2019-04-30 10:56     ` Christoph Hellwig
2019-04-30 10:56     ` Christoph Hellwig
2019-04-30 12:37     ` Robin Murphy
2019-04-30 12:37       ` Robin Murphy
2019-04-30 12:37       ` Robin Murphy
2019-04-30 15:18       ` Christoph Hellwig
2019-04-30 15:18         ` Christoph Hellwig
2019-04-30 15:18         ` Christoph Hellwig
2019-04-30 19:46         ` Nicolin Chen
2019-04-30 19:46           ` Nicolin Chen
2019-04-30 19:46           ` Nicolin Chen
2019-04-30 12:52   ` Robin Murphy
2019-04-30 12:52     ` Robin Murphy
2019-04-30 12:52     ` Robin Murphy
2019-04-30 15:20     ` Christoph Hellwig
2019-04-30 15:20       ` Christoph Hellwig
2019-04-30 15:20       ` Christoph Hellwig
2019-04-30  1:55 ` [RFC/RFT PATCH 2/2] dma-contiguous: Use fallback alloc_pages for single pages Nicolin Chen
2019-04-30  1:55   ` Nicolin Chen
2019-04-30  1:55   ` Nicolin Chen
2019-04-30  1:55   ` Nicolin Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.