How to decode /proc/pid/pagemap entries in Linux?

前端 未结 4 1762
名媛妹妹
名媛妹妹 2020-12-01 13:16

I am trying to decipher how to use /proc/pid/pagemap to get the physical address of a given set of pages. Suppose from the /proc/pid/maps, I get the virtual address afa2d000

4条回答
  •  [愿得一人]
    2020-12-01 13:33

    I hope this link will help. It's a very simple tool, and determining the address you need to access is very simple: http://fivelinesofcode.blogspot.com/2014/03/how-to-translate-virtual-to-physical.html

提交回复
热议问题