Kernel Newbies archive on lore.kernel.org
 help / Atom feed
* How to calculate page address to PFN
@ 2019-04-05 11:07 Pankaj Suryawanshi
  0 siblings, 0 replies; 1+ messages in thread
From: Pankaj Suryawanshi @ 2019-04-05 11:07 UTC (permalink / raw)
  To: linux-kernel, linux-mm, kernelnewbies

[-- Attachment #1.1: Type: text/plain, Size: 311 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 913 bytes --]

<div dir="auto"><div dir="auto">Hello,</div><div dir="auto"><br></div><div dir="auto">I have PFN of all processes in user space, how to calculate page address to PFN.</div><div dir="auto"><br></div><div dir="auto">eg .</div><div dir="auto"><br></div><div dir="auto">page address :bf05febc in kernel space.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I have PFN no for user space processes as below.</div><div dir="auto"><br></div><div dir="auto">8a81b</div><div dir="auto">69da0</div><div dir="auto">88cf4</div><div dir="auto">88d06</div><div dir="auto">88d07</div><div dir="auto">9549f</div><div dir="auto">952d0</div><div dir="auto">9734a</div><div dir="auto">87c7d</div><div dir="auto">87ca0</div><div dir="auto"><br></div><div dir="auto">How to calculate/match page address to PFN ?</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Pankaj</div></div>

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 1+ messages in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-05 11:07 How to calculate page address to PFN Pankaj Suryawanshi

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org kernelnewbies@archiver.kernel.org
	public-inbox-index kernelnewbies


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/ public-inbox