From: Greg Ungerer <gerg@snapgear.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] remove uneccesary page++
Date: Wed, 11 Jan 2006 11:28:04 +1000 [thread overview]
Message-ID: <200601110128.k0B1S4tU013956@localhost.localdomain> (raw)
Remove unecessary page++ from memmap_init_zone loop.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
--- linux-2.6.15/mm/page_alloc.c 2006-01-03 13:21:10.000000000 +1000
+++ linux-2.6.15-uc0/mm/page_alloc.c 2006-01-11 11:16:46.981376296 +1000
@@ -1706,7 +1706,7 @@
unsigned long end_pfn = start_pfn + size;
unsigned long pfn;
- for (pfn = start_pfn; pfn < end_pfn; pfn++, page++) {
+ for (pfn = start_pfn; pfn < end_pfn; pfn++) {
if (!early_pfn_valid(pfn))
continue;
if (!early_pfn_in_nid(pfn, nid))
next reply other threads:[~2006-01-11 1:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-11 1:28 Greg Ungerer [this message]
2006-01-11 2:15 ` Dave Hansen
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=200601110128.k0B1S4tU013956@localhost.localdomain \
--to=gerg@snapgear.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®