physical pages of a process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
I am developing my thesys' project and I need to know the physical pages a 
process occupies. I have just tried to read these informations from the proc 
directory; in particular, I've read some memory ranges from the 
file /proc/$pid/maps, but I have later understood that these ranges indicate 
intervals of linear addresses (or better, indicate the memory region occupied 
by the process). In other word, I've not found the physical addresses I need.
Later, I've also read, from the book "Understanding Linux Kernel", how to 
obtain memory regions informations from the process descriptor; but I haven't 
understood where I can find physical addresses or how can I translate linear 
addresses representing memory region into physical ones or finally if exists 
a C function that return these values.
Can Someone help me, please?

Thanks.

Vin_junior

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux