All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robin Murphy <robin.murphy@arm.com>
To: joro@8bytes.org
Cc: iommu@lists.linux-foundation.org, thunder.leizhen@huawei.com,
	nwatters@codeaurora.org, tomasz.nowicki@caviumnetworks.com,
	dwoods@mellanox.com, linux-kernel@vger.kernel.org
Subject: [PATCH v5 0/6] Optimise 64-bit IOVA allocations
Date: Thu, 21 Sep 2017 16:52:41 +0100	[thread overview]
Message-ID: <cover.1506007392.git.robin.murphy@arm.com> (raw)

v4: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1493704.html

Right, this is hopefully the last version - I've put things back in a
sensible order with the new additions at the end, so if they prove
contentious the first 4 previously-tested patches can still get their
time in -next. Patch #3 is updated to fix the bug brought to light by
Tomasz, patch #6 includes the cleanup afterthought from v4, and I've
nobbled one or two rogue whitespace changes I'd missed before.

And the diffstat is still even more negative than before, hooray! For
the whole series, the total code size reduction of alloc_iova() comes
to just over 26% (AArch64 GCC 6.3.1).

Robin.


Robin Murphy (3):
  iommu/iova: Extend rbtree node caching
  iommu/iova: Add rbtree anchor node
  iommu/iova: Simplify cached node logic

Zhen Lei (3):
  iommu/iova: Optimise rbtree searching
  iommu/iova: Optimise the padding calculation
  iommu/iova: Make dma_32bit_pfn implicit

 drivers/gpu/drm/tegra/drm.c      |   3 +-
 drivers/gpu/host1x/dev.c         |   3 +-
 drivers/iommu/amd_iommu.c        |   7 +-
 drivers/iommu/dma-iommu.c        |  18 +-----
 drivers/iommu/intel-iommu.c      |  11 +---
 drivers/iommu/iova.c             | 135 ++++++++++++++++-----------------------
 drivers/misc/mic/scif/scif_rma.c |   3 +-
 include/linux/iova.h             |   9 +--
 8 files changed, 69 insertions(+), 120 deletions(-)

-- 
2.13.4.dirty

             reply	other threads:[~2017-09-21 15:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-21 15:52 Robin Murphy [this message]
2017-09-21 15:52 ` [PATCH v5 1/6] iommu/iova: Optimise rbtree searching Robin Murphy
2017-09-21 15:52 ` [PATCH v5 2/6] iommu/iova: Optimise the padding calculation Robin Murphy
2017-09-21 15:52 ` [PATCH v5 3/6] iommu/iova: Extend rbtree node caching Robin Murphy
2017-09-22 16:21   ` Tomasz Nowicki
2017-09-22 16:50     ` tn
2017-09-22 17:08       ` tn
2017-09-22 17:25     ` Robin Murphy
2017-09-21 15:52 ` [PATCH v5 4/6] iommu/iova: Make dma_32bit_pfn implicit Robin Murphy
2017-09-21 15:52 ` [PATCH v5 5/6] iommu/iova: Add rbtree anchor node Robin Murphy
2017-09-21 15:52 ` [PATCH v5 6/6] iommu/iova: Simplify cached node logic Robin Murphy
2017-09-27 15:11 ` [PATCH v5 0/6] Optimise 64-bit IOVA allocations Joerg Roedel

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=cover.1506007392.git.robin.murphy@arm.com \
    --to=robin.murphy@arm.com \
    --cc=dwoods@mellanox.com \
    --cc=iommu@lists.linux-foundation.org \
    --cc=joro@8bytes.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nwatters@codeaurora.org \
    --cc=thunder.leizhen@huawei.com \
    --cc=tomasz.nowicki@caviumnetworks.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.