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?
Thanks in advance,
-Hari
There isn't one. You haven't allocated any physical memory, so the
kernel doesn't give you any.
DS
.
Relevant Pages
- Re: Zones in Linux
... The issue is how much of the memory is visible in kernel *virtual memory* ... There is a total visibility of 4GB of virtual memory. ... physical memory are mapped 1-to-1 into kernel virtual memory space. ... (comp.os.linux.development.system) - Re: Not very encouraging :(
... the 2.4 kernel is receiving complains even from the Linux community ... anyone post a problem in the linux ng's I follow, ... of message about virtual memory. ... (microsoft.public.windowsxp.security_admin) - Re: Why system call need to copy the date from the userspace before using it
... In virtual memory terms, each userspace program resides in the ... while the kernel takes up the higher addresses. ... the supposed buffer, does not belong to kernel space. ... Now the only thing that can go wrong is that the user program told the ... (Linux-Kernel) - Re: Zones in Linux
... aren't fully arranged to NormalZone? ... The issue is how much of the memory is visible in kernel *virtual memory* at a given time. ... In the "normal" x86 linux kernel configuration, the virtual address space is subdivided between user-space which gets 3GB and 1GB for the kernel address space. ... the first X pages of physical memory are mapped 1-to-1 into kernel virtual memory space. ... (comp.os.linux.development.system) - Re: Anyone know how to access the Link between Page File & Physical Memory?
... > I went through debuging a call to malloc() to try to find out where the link ... between virtual memory and physical memory is stored, ... (microsoft.public.development.device.drivers) |
|