Re: Zero copy between ISR, kernel and User

From: Stephen Hemminger
Date: Wed Sep 27 2006 - 15:11:28 EST

On Tue, 26 Sep 2006 21:01:45 -0700
Wink Saville <wink@xxxxxxxxxxx> 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@xxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at