Re: how to obtain process physical adresses

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

 



 If you walk thru the page table entries (pte_t) you should be able to get
the physical address... pte_val(x) returns the value of the page table
entry... but this contains the physical address along with the flags..

hth,
Raghu

On Thu, 22 Apr 2004, Cristina Rivera wrote:

> Hi there!
>
> I have some questions about memory management in linux. Is there any way
> to obtain the physical address of the pages that a process is ocuppying
> when it's loaded into memory or it's decided by MMU and there's no way to
> get this and I only can get the virtual address?
>
> Thanks in advance,
>
>
> ________________________________________________________________________________
> Descubre ya las ventajas del nuevo MSN Messenger. Descárgatelo gratis
> aquí -- Kernelnewbies: Help each other learn about the Linux kernel.
> Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ:
> http://kernelnewbies.org/faq/
>

--
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