Re: Virtual address

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

 



Manisha Maheshwari wrote:
Hi all,

I am trying to convert user virtual address to kernel virtual address using get_user_pages.

But i am gettin the worng kernel virtual address.
what function should i use to do his conversion??

You should not need address conversion.  You can directly
pass the user virtual address to copy_from_user or copy_to_user
and the right thing will happen.

--
What is important?  What you want to be true, or what is true?

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