From: "Stephen C. Tweedie" <sct@redhat.com>
To: Mark_H_Johnson@Raytheon.com
Cc: linux-mm@kvack.org, James_P_Cassidy@Raytheon.com
Subject: Re: Physical address of a user virtual address
Date: Thu, 1 Nov 2001 14:08:07 +0000 [thread overview]
Message-ID: <20011101140807.B2321@redhat.com> (raw)
In-Reply-To: <OF59D35C34.54785967-ON86256AF5.0002C7E7@hou.us.ray.com>; from Mark_H_Johnson@Raytheon.com on Mon, Oct 29, 2001 at 06:42:51PM -0600
Hi,
On Mon, Oct 29, 2001 at 06:42:51PM -0600, Mark_H_Johnson@Raytheon.com wrote:
> We can't seem to find any "easy" way (e.g., call a function) that converts
> an address in the virtual address space of an application to the physical
> address. The book "Linux Device Drivers" basically tells us to walk the
> page tables. From that, we think we must create a driver or kernel module
> to get access to the proper variables and functions. That looks like a lot
> of work for something that sounds simple.
>
> Has someone already solved this done this and can point us to some code
> that implements this?
map_user_kiobuf() is designed to walk the page tables, find the
appropriate physical pages and pin them in memory.
--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
prev parent reply other threads:[~2001-11-01 14:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-30 0:42 Mark_H_Johnson
2001-10-30 18:17 ` Timur Tabi
2001-11-01 14:08 ` Stephen C. Tweedie [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=20011101140807.B2321@redhat.com \
--to=sct@redhat.com \
--cc=James_P_Cassidy@Raytheon.com \
--cc=Mark_H_Johnson@Raytheon.com \
--cc=linux-mm@kvack.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