From: Andrea Arcangeli <andrea@suse.de>
To: Mikael Pettersson <mikpe@csd.uu.se>
Cc: marcelo.tosatti@cyclades.com.br, linux-kernel@vger.kernel.org
Subject: Re: nr_free_buffer_pages 2.4.23pre4
Date: Thu, 18 Sep 2003 16:56:42 +0200 [thread overview]
Message-ID: <20030918145642.GF1301@velociraptor.random> (raw)
In-Reply-To: <200309181201.h8IC1hue002338@harpo.it.uu.se>
On Thu, Sep 18, 2003 at 02:01:43PM +0200, Mikael Pettersson wrote:
> On Thu, 18 Sep 2003 07:06:12 +0200, Andrea Arcangeli <andrea@suse.de> wrote:
> > According to the kernel CVS you didn't merge this yet, so please merge
> > the below too, it will remove a not necessary branch that also generates
> > a gcc false positive (all harmless of course but it's more correct to
> > remove it):
> >
> > --- 2.4.23pre4/mm/page_alloc.c.~1~ 2003-09-13 00:08:04.000000000 +0200
> > +++ 2.4.23pre4/mm/page_alloc.c 2003-09-14 01:05:24.000000000 +0200
> > @@ -258,8 +258,6 @@ static struct page * balance_classzone(z
> > struct page * page = NULL;
> > int __freed;
> >
> > - if (!(gfp_mask & __GFP_WAIT))
> > - goto out;
> > if (in_interrupt())
> > BUG();
>
> Andrea,
>
> This cleanup leaves the 'out' label unused, triggering
> yet another gcc warning (though less scary than the previous).
> Please apply this cleanup patch on top of the one above.
yes, I recall I also cleaned up that bit in a later patch. And yes, it
was harmless too ;)
>
> /Mikael
>
> --- linux-2.4.23-pre4/mm/page_alloc.c.~1~ 2003-09-18 13:43:41.753607800 +0200
> +++ linux-2.4.23-pre4/mm/page_alloc.c 2003-09-18 13:55:46.785155159 +0200
> @@ -317,7 +317,6 @@
> }
> current->nr_local_pages = 0;
> }
> - out:
> *freed = __freed;
> return page;
> }
Andrea
/*
* If you refuse to depend on closed software for a critical
* part of your business, these links may be useful:
*
* rsync.kernel.org::pub/scm/linux/kernel/bkcvs/linux-2.5/
* rsync.kernel.org::pub/scm/linux/kernel/bkcvs/linux-2.4/
* http://www.cobite.com/cvsps/
*
* svn://svn.kernel.org/linux-2.6/trunk
* svn://svn.kernel.org/linux-2.4/trunk
*/
next prev parent reply other threads:[~2003-09-18 14:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-18 12:01 nr_free_buffer_pages 2.4.23pre4 Mikael Pettersson
2003-09-18 14:56 ` Andrea Arcangeli [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-09-18 5:06 Andrea Arcangeli
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=20030918145642.GF1301@velociraptor.random \
--to=andrea@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com.br \
--cc=mikpe@csd.uu.se \
/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