[lkml]   [1997]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectDMA question
A physicist posed the following question:
I have a device that does DMA. The area involved is mmapped by
several user processes. The hardware does not allow user program
access while the DMA is in progress.
What Linux primitives can be used to prevent such access?

So, is there a reasonable way to put processes to sleep when they
try to access a prespecified range of memory, so that the driver
can wake them up when DMA has finished?
Or perhaps to prevent scheduling of those processes that have
this memory range in their address space?


 \ /
  Last update: 2005-03-22 13:38    [W:0.025 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site