LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: dann frazier <dann.frazier@canonical.com>
To: Nicolin Chen <nicoleotsuka@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>,
Robin Murphy <robin.murphy@arm.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
vdumpa@nvidia.com, linux@armlinux.org.uk,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will.deacon@arm.com>,
chris@zankel.net, jcmvbkbc@gmail.com, joro@8bytes.org,
dwmw2@infradead.org, tony@atomide.com, akpm@linux-foundation.org,
sfr@canb.auug.org.au, treding@nvidia.com, keescook@chromium.org,
iamjoonsoo.kim@lge.com, wsa+renesas@sang-engineering.com,
linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
linux-kernel@vger.kernel.org, linux-xtensa@linux-xtensa.org,
iommu@lists.linux-foundation.org
Subject: Re: [PATCH v3 0/2] Optimize dma_*_from_contiguous calls
Date: Fri, 24 May 2019 14:03:25 -0600 [thread overview]
Message-ID: <CALdTtnu=WdYbqyq57EkB-=rsyz72SW-J8oyD7f6Xm-da2OgRgQ@mail.gmail.com> (raw)
In-Reply-To: <20190524040633.16854-1-nicoleotsuka@gmail.com>
On Thu, May 23, 2019 at 10:08 PM Nicolin Chen <nicoleotsuka@gmail.com> wrote:
>
> [ Per discussion at v1, we decide to add two new functions and start
> replacing callers one by one. For this series, it only touches the
> dma-direct part. And instead of merging two PATCHes, I still keep
> them separate so that we may easily revert PATCH-2 if anything bad
> happens as last time -- PATCH-1 is supposed to be a safe cleanup. ]
>
> This series of patches try to optimize dma_*_from_contiguous calls:
> PATCH-1 abstracts two new functions and applies to dma-direct.c file.
> PATCH-2 saves single pages and reduce fragmentations from CMA area.
>
> Please check their commit messages for detail changelog.
>
> Nicolin Chen (2):
> dma-contiguous: Abstract dma_{alloc,free}_contiguous()
> dma-contiguous: Use fallback alloc_pages for single pages
>
> include/linux/dma-contiguous.h | 11 +++++++
> kernel/dma/contiguous.c | 57 ++++++++++++++++++++++++++++++++++
> kernel/dma/direct.c | 24 +++-----------
> 3 files changed, 72 insertions(+), 20 deletions(-)
Thanks Nicolin. Tested on a HiSilicon D06 system.
Tested-by: dann frazier <dann.frazier@canonical.com>
next prev parent reply other threads:[~2019-05-24 20:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-24 4:06 Nicolin Chen
2019-05-24 4:06 ` [PATCH v3 1/2] dma-contiguous: Abstract dma_{alloc,free}_contiguous() Nicolin Chen
2019-05-29 18:35 ` Nathan Chancellor
2019-05-29 22:48 ` Nicolin Chen
2019-07-25 16:06 ` Ezequiel Garcia
2019-07-25 16:50 ` Nicolin Chen
2019-07-25 17:31 ` Dafna Hirschfeld
2019-07-25 23:42 ` Nicolin Chen
2019-05-24 4:06 ` [PATCH v3 2/2] dma-contiguous: Use fallback alloc_pages for single pages Nicolin Chen
2019-05-24 16:16 ` Ira Weiny
2019-05-27 10:55 ` Nicolin Chen
2019-05-24 20:03 ` dann frazier [this message]
2019-05-28 6:04 ` [PATCH v3 0/2] Optimize dma_*_from_contiguous calls Christoph Hellwig
2019-05-29 23:06 ` Nicolin Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALdTtnu=WdYbqyq57EkB-=rsyz72SW-J8oyD7f6Xm-da2OgRgQ@mail.gmail.com' \
--to=dann.frazier@canonical.com \
--cc=akpm@linux-foundation.org \
--cc=catalin.marinas@arm.com \
--cc=chris@zankel.net \
--cc=dwmw2@infradead.org \
--cc=hch@lst.de \
--cc=iamjoonsoo.kim@lge.com \
--cc=iommu@lists.linux-foundation.org \
--cc=jcmvbkbc@gmail.com \
--cc=joro@8bytes.org \
--cc=keescook@chromium.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xtensa@linux-xtensa.org \
--cc=linux@armlinux.org.uk \
--cc=m.szyprowski@samsung.com \
--cc=nicoleotsuka@gmail.com \
--cc=robin.murphy@arm.com \
--cc=sfr@canb.auug.org.au \
--cc=tony@atomide.com \
--cc=treding@nvidia.com \
--cc=vdumpa@nvidia.com \
--cc=will.deacon@arm.com \
--cc=wsa+renesas@sang-engineering.com \
--subject='Re: [PATCH v3 0/2] Optimize dma_*_from_contiguous calls' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).