Re: user virtual address to physical address

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

 





On Wed, May 9, 2012 at 5:40 AM, Fredrick <fjohnber@xxxxxxxx> wrote:
Hi,

I need to convert a user virtual address to its
corresponding physical address.
I know that if the virtual address is from kernel,
we could use virt_to_phys.
Is there a similar helper function
to convert user virtual address.?

Hi Fredrick,

Please elaborate the purpose,

User-space application allowed to have virtual address upto 3GB, assuming 1:3 address space split.
And its not mandatory for all user-space address to be valid and to have all user-space address to have a valid physical address mapping.


Thanks,
Chetan

Thanks,
Fredrick


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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