mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: Matt Tolentino <metolent@snoqualmie.dp.intel.com>
Cc: ak@suse.de, linux-kernel@vger.kernel.org
Subject: Re: [patch] remove direct mem_map refs for x86-64
Date: Wed, 03 Nov 2004 17:32:47 +0100	[thread overview]
Message-ID: <1099499567.2813.24.camel@laptop.fenrus.org> (raw)
In-Reply-To: <200411031647.iA3GlmBm016951@snoqualmie.dp.intel.com>

On Wed, 2004-11-03 at 08:47 -0800, Matt Tolentino wrote:
> -                       page = pgdat->node_mem_map + i;
> -		total++;
> +			page = pfn_to_page(pgdat->node_start_pfn + i);
> +			total++;

this can't be correct... pfn_to_page starts to count from address 0
while the original code starts from the start of the node..



  reply	other threads:[~2004-11-03 16:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-03 16:47 Matt Tolentino
2004-11-03 16:32 ` Arjan van de Ven [this message]
2004-11-03 17:02   ` Andi Kleen
2004-11-03 17:09     ` Arjan van de Ven
2004-11-03 17:01 ` Andi Kleen
2004-11-03 17:24 Matt Tolentino

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=1099499567.2813.24.camel@laptop.fenrus.org \
    --to=arjan@infradead.org \
    --cc=ak@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=metolent@snoqualmie.dp.intel.com \
    /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®