Remove a recently added useless masking of GFP_ZERO. GFP_ZERO is 
already masked out in new_slab() (See how it calls allocate_slab). No need 
to do it twice. This reverts the SLUB parts of 
7fd272550bd43cc1d7289ef0ab2fa50de137e767.

Cc: Linus Torvalds <[EMAIL PROTECTED]>
Cc: Matt Mackall <[EMAIL PROTECTED]>
Cc: Pekka Enberg <[EMAIL PROTECTED]>
Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>

Index: linux-2.6/mm/slub.c
===================================================================
--- linux-2.6.orig/mm/slub.c    2007-12-13 12:41:34.000000000 -0800
+++ linux-2.6/mm/slub.c 2007-12-13 12:42:03.000000000 -0800
@@ -1468,9 +1468,6 @@ static void *__slab_alloc(struct kmem_ca
        void **object;
        struct page *new;
 
-       /* We handle __GFP_ZERO in the caller */
-       gfpflags &= ~__GFP_ZERO;
-
        if (!c->page)
                goto new_slab;
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to