30 Jan
2009
30 Jan
'09
1:20 p.m.
On Friday 30 January 2009, Jan Berger wrote:
What is the "Optimized Kernel Mechanism" you reffer to?
Hi Jan, It is a set of system calls or IOCTLs used to transfer messages between the kernel and userland application. Currently copyin/copyout is used, and only one message is transferred at a time, though the possibility is there to change it. What I want to acchieve is to reduce the number of system calls needed if there are multiple messages to be received or transmitted at a time, by transferring multiple messages in a single syscall. When using read()/write() on a socket this is not possible. You get all the data back to back in one buffer, instead of in separate buffers that can be separately freed. --HPS