Commit:     3811dbf67162bd08412f1b0e02e554f353e93bdb
Parent:     087ee8d5bec1aa6d0a1dfe3067c7298375462ceb
Author:     Christoph Lameter <[EMAIL PROTECTED]>
AuthorDate: Mon Dec 17 16:20:27 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Dec 17 19:28:17 2007 -0800

    SLUB: remove useless masking of GFP_ZERO
    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: Matt Mackall <[EMAIL PROTECTED]>
    Reviewed-by: Pekka Enberg <[EMAIL PROTECTED]>
    Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 mm/slub.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/mm/slub.c b/mm/slub.c
index 9c1d9f3..b9f37cb 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1468,9 +1468,6 @@ static void *__slab_alloc(struct kmem_cache *s,
        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 git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to