Re: [PATCH] implement __GFP_REPEAT, __GFP_NOFAIL, __GFP_NORETRY

From: Alexey Mahotkin (alexm@hsys.msk.ru)
Date: Tue Apr 22 2003 - 14:49:46 EST


Maybe I am wrong, but recent patch added

+#define __GFP_NORETRY 0x1000 /* Do not retry. Might fail */

which conflicts numerically with

#define SLAB_NO_GROW 0x00001000UL /* don't grow a cache */

e.g., mm/slab.c contains the following snippet:

        if (flags & ~(SLAB_DMA|SLAB_LEVEL_MASK|SLAB_NO_GROW))
                BUG();
        if (flags & SLAB_NO_GROW)
                return 0;

while SLAB_LEVEL_MASK actually contains SLAB_NO_GROW.

--alexm
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:34 EST