Re: ZEROCOPY between kernel and userland

2004-07-07 Thread thefly
On Tue, Jul 06, 2004 at 02:22:54PM -0700, Brooks Davis wrote: > [Please don't top-post, it tends to lose context.] > > On Tue, Jul 06, 2004 at 03:36:40PM +0200, thefly wrote: > > could you point me pls to some code of that? To me read-only access is > > ok, userspace doesn't need to write anything

Re: ZEROCOPY between kernel and userland

2004-07-06 Thread Brooks Davis
[Please don't top-post, it tends to lose context.] On Tue, Jul 06, 2004 at 03:36:40PM +0200, thefly wrote: > could you point me pls to some code of that? To me read-only access is > ok, userspace doesn't need to write anything on it, kernelspace does. > But what about locking issues between usersp

Re: ZEROCOPY between kernel and userland

2004-07-06 Thread thefly
could you point me pls to some code of that? To me read-only access is ok, userspace doesn't need to write anything on it, kernelspace does. But what about locking issues between userspace read access and kernelspace write access? On Tue, Jul 06, 2004 at 09:22:39AM -0400, Don Bowman wrote: > Fro

RE: ZEROCOPY between kernel and userland

2004-07-06 Thread Don Bowman
From: thefly [mailto:[EMAIL PROTECTED] > Hello everybody, i'm writing a netgraph module to get some stats about > the network traffic. Actually i have to pass all the data gathered all > in one piece, to the process which asks me for it. The client should > work like this in userland: > > in