public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Question: how to copy to user space from a tasklet
@ 2010-10-14 10:43 Tom Brown
  2010-10-15  2:15 ` Yong Zhang
  2010-10-15  5:57 ` Stefan Richter
  0 siblings, 2 replies; 7+ messages in thread
From: Tom Brown @ 2010-10-14 10:43 UTC (permalink / raw)
  To: LKML

[Sorry to have to ask this here - I can't find any driver-specific 
newsgroup or mailing lists - are there any??]

I have a driver which needs to copy device data direct to user space 
from a tasklet. I need to do this because the device is continuously 
DMA'ing into user space, with no user intervention, so the user isn't 
waiting for data. In other words, I don't have any user-associated 
process to wake up.

This means that I have to somehow copy the data directly to the user 
from the tasklet, without sleeping, and without direct access to user 
context. Can someone tell me how to do this?

Thanks

Tom

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

end of thread, other threads:[~2010-10-18 18:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-14 10:43 Question: how to copy to user space from a tasklet Tom Brown
2010-10-15  2:15 ` Yong Zhang
2010-10-15  5:57 ` Stefan Richter
2010-10-15  8:59   ` Arnd Bergmann
2010-10-18 15:45   ` Tom Brown
2010-10-18 17:01     ` Stefan Richter
2010-10-18 18:02       ` Tom Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox