mm-slob-remove-an-unnecessary-check-for-__gfp_zero.patch removed from -mm tree
The patch titled
Subject: mm/slob.c: remove an unnecessary check for __GFP_ZERO
has been removed from the -mm tree. Its filename was
mm-slob-remove-an-unnecessary-check-for-__gfp_zero.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Miles Chen <[email protected]>
Subject: mm/slob.c: remove an unnecessary check for __GFP_ZERO
Current flow guarantees a valid pointer when handling the __GFP_ZERO case. So remove the unnecessary NULL pointer check.
Signed-off-by Miles Chen <[email protected]>
Cc Christoph Lameter <[email protected]>
Cc Pekka Enberg <[email protected]>
Cc David Rientjes <[email protected]>
Cc Joonsoo Kim <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/slob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/slob.c renamed from mm/slob.c~mm-slob-remove-an-unnecessary-check-for-__gfp_zero +1 -1
@@ -330,7 +330,7 @@ static void *slob_alloc(size_t size, gfpBUG_ON (!b);spin_unlock_irqrestore (&slob_lock, flags); } -if (unlikely ((gfp & __GFP_ZERO) && b)) +if (unlikely (gfp & __GFP_ZERO))memset (b,0 , size);return b; }
_
Patches currently in -mm which might be from [email protected] are
dma-debug-fix-incorrect-pfn-calculation.patch checkpatch-support-function-pointers-for-unnamed-function-definition-arguments.patch