dma-remap-drop-nth_page-in-dma_common_contiguous_remap.patch removed from -mm tree
The quilt patch titled
Subject: dma-remap: drop nth_page() in dma_common_contiguous_remap()
has been removed from the -mm tree. Its filename was
dma-remap-drop-nth_page-in-dma_common_contiguous_remap.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: David Hildenbrand <[email protected]>
Subject: dma-remap: drop nth_page() in dma_common_contiguous_remap()
Date: Mon, 1 Sep 2025 17:03:44 +0200
dma_common_contiguous_remap() is used to remap an "allocated contiguous region". Within a single allocation, there is no need to use nth_page() anymore.
Neither the buddy, nor hugetlb, nor CMA will hand out problematic page ranges.
---
kernel/dma/remap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/dma/remap.c renamed from kernel/dma/remap.c~dma-remap-drop-nth_page-in-dma_common_contiguous_remap +1 -1
@@ -49,7 +49,7 @@ void *dma_common_contiguous_remap(structif (!pages)return NULL ;for (i =0 ; i < count; i++) - pages[i] =nth_page (page, i); + pages[i] = page++; vaddr =vmap (pages, count,VM_DMA_COHERENT , prot);kvfree (pages);
_
Patches currently in -mm which might be from [email protected] are