mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexey Mahotkin <alexm@hsys.msk.ru>
To: akpm@digeo.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] implement __GFP_REPEAT, __GFP_NOFAIL, __GFP_NORETRY
Date: Tue, 22 Apr 2003 23:49:46 +0400	[thread overview]
Message-ID: <87bryy9usl.fsf@192.168.10.23> (raw)



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

             reply	other threads:[~2003-04-22 19:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-22 19:49 Alexey Mahotkin [this message]
2003-04-22 20:10 ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bryy9usl.fsf@192.168.10.23 \
    --to=alexm@hsys.msk.ru \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®