From: "Martin Frey" <frey@scs.ch>
To: <gjohnson@research.canon.com.au>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: Resolving physical addresses
Date: Fri, 9 Mar 2001 07:14:49 -0500 [thread overview]
Message-ID: <014601c0a892$8a7b4580$7bc02f10@SCHLEPPDOWN> (raw)
In-Reply-To: <20010309061700.17719.qmail@cass.research.canon.com.au>
>But how do I get the physical address out of the page
>structure? It is non-obvious to me. Is there some majic
>macro? We are talking about 'struct page' in mm.h, correct?
>
virt_to_phys(page_address(page))
>Quoth David S. Miller:
>> In 2.4.x pte_page() gives a pointer to a page struct, not an address
>> as in 2.2.x.
--
Supercomputing Systems AG email: frey@scs.ch
Martin Frey web: http://www.scs.ch/~frey/
at Compaq Computer Corporation phone: +1 603 884 4266
ZKO2-3P09, 110 Spit Brook Road, Nashua, NH 03062
prev parent reply other threads:[~2001-03-09 12:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-09 5:45 Resolving physical addresses gjohnson
2001-03-09 6:01 ` David S. Miller
2001-03-09 6:17 ` gjohnson
2001-03-09 12:14 ` Martin Frey [this message]
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='014601c0a892$8a7b4580$7bc02f10@SCHLEPPDOWN' \
--to=frey@scs.ch \
--cc=frey@cxau.zko.dec.com \
--cc=gjohnson@research.canon.com.au \
--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