Re: [PATCH] implement __GFP_REPEAT, __GFP_NOFAIL, __GFP_NORETRY

Alexey Mahotkin (alexm@hsys.msk.ru)
Tue, 22 Apr 2003 23:49:46 +0400


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/