Memory management, that is the mapping of virtual page numbers to physical, is done by the kernel and shielded from processes. There is no programming interface that allows a process to see what physical pages it uses.
The only exception to this rule is that a process can look at kernel memory /dev/kmem and, with the knowledge of kernel data structures, find out what mapping is effective at this point in time.
|