DEV Community

Discussion on: Mirage of memory, part 2: PSS

Collapse
 
martinberx profile image
Martin Berger 💉💉💉👌

for a 2nd "proof this is happening", you can search /proc//pagemap for an corresponding entry to the corresponding address in smaps. There the page frame number (PFN) is visible.
Now search for all other processes for any smaps entry with corresponding PFN ;)
As this is a lot of work to do, iIt's nice to have the PSS calculated in smaps already.