Re: Virtual address

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

 



On Wed, 2006-08-23 at 17:56 -0700, Manisha Maheshwari wrote:
> 
> I have mapped  a device '/dev/nds/surface3 ' into user address
> space.That's the mapping which i see  in /proc/self/maps.
> ---
> 298a4000-298f9000 rw-s 00000000 00:0b 58425601   /dev/nds/surface3
> --
> later on when user give that user address '298a4000'  to another
> device ( this device doesn't know the physical address for this user
> space address).This second device need to convert that user address to
> kernel address so that it can write to the corresponding kernel space.
> 
> I don't wanna do copy_from_user or copy_to_user becoz it's a big chunk
> of memory.Moreover this is already allocated in kernel and i wanna
> work on the same chunk of memory.


I suspect that at this point showing us the sourcecode is going to be
the only way we can really understand what you are trying to do and/or
making useful suggestions...


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