SLUB: Remove useless masking of GFP_ZERO Matt added a useless masking of GFP_ZERO. GFP_ZERO is already masked out in new_slab(). No need to do it twice. This reverts the SLUB parts of 7fd272550bd43cc1d7289ef0ab2fa50de137e767. Cc: Linus Torvalds Cc: Matt Mackall Cc: Pekka Enberg Signed-off-by: Christoph Lameter 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;