From: "Martin J. Bligh" <Martin.Bligh@us.ibm.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Mel <mel@csn.ul.ie>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Documenation/vm/numa
Date: Fri, 19 Apr 2002 14:37:44 -0700 [thread overview]
Message-ID: <1972720000.1019252264@flay> (raw)
In-Reply-To: <m1n0vz4er5.fsf@frodo.biederman.org>
>> Note that there are two possible ways to define a pfn, in my mind.
>> One would be page_phys_addr >> PAGE_SHIFT. The other would be the
>> offset of the struct page for that page within the mythical mem_map
>> array. I prefer the former, though it probably contradicts everyone
>> else ;-) It's useful to have some way to pass around a 36 bit address
>> inside a 32 bit field.
>
> A page frame number (pfn) is definitely the former
> (page_phys_addr >> PAGE_SHIFT).
That's how I'd conceptually define it ... unfortunately the latter
definition
also matches for non-discontigmem machines, and it's easy to think of
it that way. I guess it's just everything that says "mapnr" in it that needs
killing then ... I'm off to make some patches.
M.
next prev parent reply other threads:[~2002-04-19 20:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-19 3:56 [PATCH] Documenation/vm/numa Mel
2002-04-19 5:18 ` Martin J. Bligh
2002-04-19 20:25 ` Eric W. Biederman
2002-04-19 21:37 ` Martin J. Bligh [this message]
2002-04-20 16:05 ` Mel
2002-04-20 19:47 ` Martin J. Bligh
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=1972720000.1019252264@flay \
--to=martin.bligh@us.ibm.com \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mel@csn.ul.ie \
/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