Re: physical address of user virtual address

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

 



On Tue, 2006-03-28 at 15:28 +0530, Nilanjan Roychowdhury wrote:
> HI,
> 
> Is it possible to find the corresponding Physical address of a user
> space virtual address?

it is (by walking the page tables). The question is what you want to do
with it, since in principle the data can change all the time (either by
userspace threads doing so or by pageout/pagein activity). So normally
you can't do DMA to such pages for example without taking really special
care (read: use the proper API's)



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