dmapool-speedup-dmapool_debug-with-init_on_alloc.patch removed from -mm tree
The quilt patch titled
Subject: dmapool: speedup DMAPOOL_DEBUG with init_on_alloc
has been removed from the -mm tree. Its filename was
dmapool-speedup-dmapool_debug-with-init_on_alloc.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: Tony Battersby <[email protected]>
Subject: dmapool: speedup DMAPOOL_DEBUG with init_on_alloc
Date: Thu, 26 Jan 2023 13:51:18 -0800
Avoid double-memset of the same allocated memory in dma_pool_alloc() when both DMAPOOL_DEBUG is enabled and init_on_alloc=1.
Signed-off-by Tony Battersby <[email protected]>
Signed-off-by Keith Busch <[email protected]>
Reviewed-by Christoph Hellwig <[email protected]>
Cc Matthew Wilcox <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/dmapool.c renamed from mm/dmapool.c~dmapool-speedup-dmapool_debug-with-init_on_alloc +1 -1
@@ -356,7 +356,7 @@ void *dma_pool_alloc(struct dma_pool *po break; } } -if (!(mem_flags & __GFP_ZERO)) +if (!want_init_on_alloc (mem_flags))memset (retval,POOL_POISON_ALLOCATED , pool->size);#endif spin_unlock_irqrestore (&pool->lock, flags);
_
Patches currently in -mm which might be from [email protected] are