Skip to content

Allocate IOMMU irq/page table using numa locality info

Vasant Hegde linux-iommu 1 version Applied

Status from this message: Applied, thanks Vasant.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyApplied

Changes in v2 from the cover letter

- Removed redundant GFP_ATOMIC from alloc_pgtable_page()
- Folded first two patches

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2iommu/amd: Allocate page table using numa locality infodrivers/iommu/amd/amd_iommu.h drivers/iommu/amd/amd_iommu_types.h drivers/iommu/amd/io_pgtable.c +2 more+23 -120 replies
2/2iommu/amd: Allocate IOMMU irqs using numa locality infodrivers/iommu/amd/init.c+2 -10 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSuravee SuthikulpanitAlexey Kardashevskiy
1/2
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Allocate IOMMU irq/page table using numa locality info

By default page allocator uses running CPU info to allocate page table. If it allocates page table in remote memory then every IOMMU access to page table will have overhead of reading remote page.

This patchset uses IOMMU NUMA node info and tries to allocate memory from same NUMA node. Similarly use NUMA node info to allocate IOMMU irqs.

Changes in v2:
- Removed redundant GFP_ATOMIC from alloc_pgtable_page()
- Folded first two patches

Thanks Lu Baolu and Alexey for the reviews.

Vasant Hegde (2):
iommu/amd: Allocate page table using numa locality info iommu/amd: Allocate IOMMU irqs using numa locality info

 drivers/iommu/amd/amd_iommu.h       |  8 ++++++++
 drivers/iommu/amd/amd_iommu_types.h |  1 +
 drivers/iommu/amd/init.c            |  3 ++-
 drivers/iommu/amd/io_pgtable.c      |  4 ++--
 drivers/iommu/amd/io_pgtable_v2.c   | 16 ++++++----------
 drivers/iommu/amd/iommu.c           |  6 ++++++
 6 files changed, 25 insertions(+), 13 deletions(-)
Signature · 1 line
2.31.1