linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Pankaj Suryawanshi <suryawanshipankaj@yahoo.com>
To: LKML <linux-kernel@vger.kernel.org>,
	 "linux-mm@kvack.org" <linux-mm@kvack.org>,
	 "kernelnewbies@kernelnewbies.org"
	<kernelnewbies@kernelnewbies.org>
Subject: How to calculate page address to PFN in user space.
Date: Fri, 5 Apr 2019 10:54:47 +0000 (UTC)	[thread overview]
Message-ID: <1536252828.16026118.1554461687939@mail.yahoo.com> (raw)
In-Reply-To: 1536252828.16026118.1554461687939.ref@mail.yahoo.com

Hello,

I have PFN of all processes in user space, how to calculate page address to PFN.

eg .

page address :bf05febc in kernel space.


I have PFN no for user space processes as below.

8a81b
69da0
88cf4
88d06
88d07
9549f
952d0
9734a
87c7d
87ca0

How to calculate/match page address to PFN ?

Regards,
Pankaj


       reply	other threads:[~2019-04-05 10:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1536252828.16026118.1554461687939.ref@mail.yahoo.com>
2019-04-05 10:54 ` Pankaj Suryawanshi [this message]
2019-04-05 21:27   ` How to calculate page address to PFN in user space Valdis Klētnieks
2019-04-06  6:15     ` Pankaj Suryawanshi

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=1536252828.16026118.1554461687939@mail.yahoo.com \
    --to=suryawanshipankaj@yahoo.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=linux-kernel@vger.kernel.org \
    --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;
as well as URLs for NNTP newsgroup(s).