Re: how to get physical memory address from virtual memory address



Hari wrote:
Hi ,

I am using Linux 2.4.20 Kernel. I am runing an application which will
malloc and returns a virtual memory address. I need to get the physical
memory address for that virtual memory address. How can I get that?

Get it for what purpose? As it is process virtual memory, the physical address may change at any time due to paging activity!

--
Josef Möllers (Pinguinpfleger bei FSC)
If failure had no penalty success would not be a prize
-- T. Pratchett

.



Relevant Pages