linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* share memory
@ 2005-09-27  0:59 zhonglei
  0 siblings, 0 replies; only message in thread
From: zhonglei @ 2005-09-27  0:59 UTC (permalink / raw)
  To: linuxppc-dev

hi:
  I want my driver to transfer 512byte data from kernel to user-space every 100us in the interrupt routine. Because the amount of data is  large, the copy_to_user(...) is too slow to fit the request.I tried to use sys_shmat in my driver to build a share memory,but the return of the function is a kernel virtual address which I can not use in the kernel interrupt routine directory! 
  What can I do? What function can I use to convert the kernel virtual address to kernel logic address? Or is there some other good way to handle this problem?
  Thanks a lot!
zhonglei

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-27  0:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-27  0:59 share memory zhonglei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).