Re: virtual address to vma address

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

 





On 4/16/07, Thomas Christensen <thomasc@xxxxxxxxxxx> wrote:
Hello

On Mon, Apr 16, 2007 at 09:40:55AM +0530, srinivas bakki wrote:
>  I hope you would want to look at remap_pfn_range ?

Admitting I am a kernelnewbie, I have the impression that
remap_pfn_range() is used for setting up the VMA struct.  I have used
vm_insert_page() instead.

Can it be used to get the corresponding userland address, given a
logical kernel address?

To my knowledge Yes ! cause this is how  mmap can be implemented.
 
CMIIW
 
Regards
SrinivasBakki
 

[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