mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH] implement __GFP_REPEAT, __GFP_NOFAIL, __GFP_NORETRY
@ 2003-04-22 19:49 Alexey Mahotkin
  2003-04-22 20:10 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Mahotkin @ 2003-04-22 19:49 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-22 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-22 19:49 [PATCH] implement __GFP_REPEAT, __GFP_NOFAIL, __GFP_NORETRY Alexey Mahotkin
2003-04-22 20:10 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®