All of lore.kernel.org
 help / color / mirror / Atom feed
* Map memory to user, then map it back to kernel
@ 2006-08-09  7:17 sasha
  2006-08-09 14:32 ` Jiri Slaby
  0 siblings, 1 reply; 2+ messages in thread
From: sasha @ 2006-08-09  7:17 UTC (permalink / raw)
  To: linux-kernel

Hi folks.

I am looking for a way to map a memory (allocated with get_free_pages()) 
from kernel space to user space, so that I will later be able to map it 
back with get_user_pages().

I tried remap_pfn_range(), but it didn't work as it assumes the memory 
being mapped is IO range (marking vma with VM_IO flag), while 
get_user_pages() works on regular memory.

Any ideas?

Thanks.
Alexander Sandler.

PS: Please CC to me.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-09 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-09  7:17 Map memory to user, then map it back to kernel sasha
2006-08-09 14:32 ` Jiri Slaby

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.