Save single pages from CMA area
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 11 repliesIn review
- v15 patches 1 replySuperseded
Changes in v2 from the cover letter
* PATCH-2: Initialized page pointer to NULL
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ARM: dma-mapping: Add fallback normal page allocationsarch/ | +10 | 9 replies | |
| 2/5 | dma-remap: Run alloc_pages() on failurekernel/ | +2 | 0 replies | |
| 3/5 | iommu: amd_iommu: Add fallback normal page allocationsdrivers/ | +3 | 0 replies | |
| 4/5 | arm64: dma-mapping: Add fallback normal page allocationsarch/ | +12 | 0 replies | |
| 5/5 | dma-contiguous: Do not allocate a single page from CMA areakernel/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 RFC/RFT 0/5] Save single pages from CMA area
This series of patches try to save single pages from CMA area bypassing all CMA single page alloctions and allocating normal pages instead, as all addresses within one single page are contiguous.
We had once applied the PATCH-5 but reverted it as actually not all the callers handled the fallback allocations. Per Robin's suggestion, let's stuff alloc_pages()/free_page() fallbacks to those callers before having PATCH-5.
Changlogv1->v2:
* PATCH-2: Initialized page pointer to NULL
Nicolin Chen (5):
ARM: dma-mapping: Add fallback normal page allocations
dma-remap: Run alloc_pages() on failure
iommu: amd_iommu: Add fallback normal page allocations
arm64: dma-mapping: Add fallback normal page allocations
dma-contiguous: Do not allocate a single page from CMA area
arch/arm/mm/dma-mapping.c | 13 ++++++++++--- arch/arm64/mm/dma-mapping.c | 19 ++++++++++++------- drivers/iommu/amd_iommu.c | 3 +++ kernel/dma/contiguous.c | 22 +++++++++++++++++++--- kernel/dma/remap.c | 4 ++-- 5 files changed, 46 insertions(+), 15 deletions(-)
Signature · 1 line
2.17.1