Copy data from kernel to user space memory

Niels Heinen niels.heinen at gmail.com
Thu Sep 23 03:52:33 PDT 2004


> 
> I'm not sure that you get some performance with this method, usually
> an application allocates memory, makes syscall and tells how many bytes
> the kernel (the module) can store in this memory.  But I don't see
> the complete picture, so may be you can't use this standard approach.
> 

Thats the way I have implemented it now. But because the application
(test.c ;p ) doesn't know the packet size its currently using too 
large memory buffers.

Thanks for the info, I'll have a look at those function !

Niels


More information about the freebsd-hackers mailing list