[Freeswitch-dev] FreeSwitch + ISDN + analog phone adapters - status

Hans Petter Selasky hselasky at c2i.net
Fri Jan 30 05:20:16 PST 2009


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



More information about the Freeswitch-dev mailing list