public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Hansen <haveblue@us.ibm.com>
To: franck.bui-huu@innova-card.com
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [BOOTMEM] bad physical address convertions.
Date: Tue, 05 Apr 2005 13:00:09 -0700	[thread overview]
Message-ID: <1112731209.19430.135.camel@localhost> (raw)
In-Reply-To: <425240A2.6020504@innova-card.com>

On Tue, 2005-04-05 at 09:39 +0200, Franck Bui-Huu wrote:
> Unfortunately there are some places in linux where this is not the case.
> "bootmem.c" is one of these places. For instance, it does "addr >> 
> PAGE_SHIFT"
> instead of using "phys_to_pfn" macro in order to convert a physical 
> address into a page
> frame number.
> 
> Are there any interests for a patch which will fix that ?

Probably not.

I suggest using something like discontigmem (or even sparsemem for that
matter) to properly handles holes in your address space.

-- Dave


  reply	other threads:[~2005-04-05 20:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-05  7:39 [BOOTMEM] bad physical address convertions Franck Bui-Huu
2005-04-05 20:00 ` Dave Hansen [this message]
2005-04-06  8:30   ` Franck Bui-Huu

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=1112731209.19430.135.camel@localhost \
    --to=haveblue@us.ibm.com \
    --cc=franck.bui-huu@innova-card.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