[Xorp-hackers] Patch to get rid of two system calls per asyncio send.

Ben Greear greearb at candelatech.com
Thu Mar 20 00:28:13 PDT 2008


Asyncio was disabling and enabling SIGPIPE for each send.  At least on Linux
(and probably BSD), we can use MSG_NOSIGNAL in most cases.  Attached is 
a patch
that implements this.  Not specifically benchmarked, but it's always 
good to get rid of
extra system calls...

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com> 
Candela Technologies Inc  http://www.candelatech.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: libxorp.patch
Type: text/x-patch
Size: 2692 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20080320/8e5c196f/attachment.bin 


More information about the Xorp-hackers mailing list