mm-dmapool-use-might_alloc.patch removed from -mm tree
The patch titled
Subject: mm/dmapool: use might_alloc()
has been removed from the -mm tree. Its filename was
mm-dmapool-use-might_alloc.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Daniel Vetter <[email protected]>
Subject: mm/dmapool: use might_alloc()
Now that my little helper has landed, use it more. On top of the existing check this also uses lockdep through the fs_reclaim annotations.
Signed-off-by Daniel Vetter <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/dmapool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
mm/dmapool.c renamed from mm/dmapool.c~mm-dmapool-use-might_alloc +2 -1
@@ -28,6 +28,7 @@#include <linux/mutex.h> #include <linux/poison.h> #include <linux/sched.h> +#include <linux/sched/mm.h> #include <linux/slab.h> #include <linux/stat.h> #include <linux/spinlock.h>
@@ -319,7 +320,7 @@ void *dma_pool_alloc(struct dma_pool *posize_t offset;void *retval; -might_sleep_if (gfpflags_allow_blocking (mem_flags)); +might_alloc (mem_flags);spin_lock_irqsave (&pool->lock, flags);list_for_each_entry (page, &pool->page_list, page_list) {
_
Patches currently in -mm which might be from [email protected] are