Re: How to calculate page address to PFN in user space.

From: Valdis KlÄtnieks
Date: Fri Apr 05 2019 - 18:03:05 EST


On Fri, 05 Apr 2019 10:54:47 -0000, Pankaj Suryawanshi said:

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

*All* user processes? That's going to be a lot of PFN's. What problem are you trying
to solve here?

(Hint - under what cases does the kernel care about the PFN of *any* user page?)