public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matt Mackall <mpm@selenic.com>
To: firefly blue <fireflyblue@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.6 : physical memory address and pid
Date: Sat, 12 Mar 2005 17:23:23 -0800	[thread overview]
Message-ID: <20050313012323.GE3163@waste.org> (raw)
In-Reply-To: <17d798805031217055a3e9cc6@mail.gmail.com>

On Sat, Mar 12, 2005 at 08:05:11PM -0500, firefly blue wrote:
> Hi,
> 
> With the 2.6 Linux kernel, I want to find, from the physical page
> frame, the virtual address of the page loaded in the frame and the
> process id of the process owning it.

Follow struct page->mapping to struct address_space. A page can be
mapped into any number of processes and multiple times per process so
you'll need to walk the data structures there.

-- 
Mathematics is the supreme nostalgia of our time.

  reply	other threads:[~2005-03-13  1:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-13  1:05 Linux 2.6 : physical memory address and pid firefly blue
2005-03-13  1:23 ` Matt Mackall [this message]
2005-03-13  3:56   ` Allison
     [not found] <3HpMi-5nQ-3@gated-at.bofh.it>
     [not found] ` <3Hq5K-5CP-13@gated-at.bofh.it>
     [not found]   ` <3HsTW-7Mx-11@gated-at.bofh.it>
2005-03-13  7:43     ` Robert Hancock

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=20050313012323.GE3163@waste.org \
    --to=mpm@selenic.com \
    --cc=fireflyblue@gmail.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