Re: Copy data from kernel to user space memory
From: Niels Heinen (niels.heinen_at_gmail.com)
Date: 09/23/04
- Previous message: Andrey Simonenko: "Re: Copy data from kernel to user space memory"
- In reply to: Andrey Simonenko: "Re: Copy data from kernel to user space memory"
- Next in thread: Dag-Erling Smørgrav: "Re: Copy data from kernel to user space memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Sep 2004 12:52:32 +0200 To: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
>
> 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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Andrey Simonenko: "Re: Copy data from kernel to user space memory"
- In reply to: Andrey Simonenko: "Re: Copy data from kernel to user space memory"
- Next in thread: Dag-Erling Smørgrav: "Re: Copy data from kernel to user space memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|