From: "David S. Miller" <davem@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@digeo.com
Subject: Re: [BK-2.5] [PATCH] bootmem crash fix
Date: Fri, 22 Nov 2002 13:12:59 -0800 (PST) [thread overview]
Message-ID: <20021122.131259.66318468.davem@redhat.com> (raw)
In-Reply-To: <200211222005.gAMK5t319194@hera.kernel.org>
From: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Date: Fri, 22 Nov 2002 19:31:53 +0000
From Roman Zippel. Don't assume that physical memory starts at
physical address zero.
Which would be a nice improvement, however:
- free_area_init_node(0, &contig_page_data, NULL, zones_size, 0, NULL);
+ free_area_init_node(0, &contig_page_data, NULL, zones_size,
+ __pa(PAGE_OFFSET) >> PAGE_SHIFT, NULL);
__pa(PAGE_OFFSET) is not necessarily the first physical address in
the system either.
I've never seen this even implied to be the case :-)
In any event, it isn't well defined and we should make it
so.
next parent reply other threads:[~2002-11-22 21:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200211222005.gAMK5t319194@hera.kernel.org>
2002-11-22 21:12 ` David S. Miller [this message]
2002-11-22 21:24 ` William Lee Irwin III
2002-11-22 21:26 ` David S. Miller
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=20021122.131259.66318468.davem@redhat.com \
--to=davem@redhat.com \
--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®