lkml.org 
[lkml]   [2006]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Zero copy between ISR, kernel and User
Date
On Tue, 26 Sep 2006 21:01:45 -0700
Wink Saville <wink@saville.com> wrote:

> Hello,
>
> I would like to allow the transferring of data between ISR's, kernel and
> user code, without requiring copying. I envision allocating buffers in
> the kernel and then mapping them so that they appear at the same
> addresses to all code, and never being swapped out of memory.
>
> Is this feasible for all supported Linux architectures and is there
> existing code that someone could point me towards?
>
> Regards,
>
> Wink Saville
>

Your better off having application mmap a device, then transfer
the data to there. Something like AF_PACKET.

--
Stephen Hemminger <shemminger@osdl.org>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-27 21:13    [W:0.035 / U:2.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site