Combine more operation within one system call: to do it, or not to do it?

Peter Wemm peter at wemm.org
Mon Sep 19 19:34:27 PDT 2005


On Monday 19 September 2005 02:42 am, Peter Jeremy wrote:
> On Mon, 2005-Sep-19 11:37:22 +0800, Xin LI wrote:
> >It seems that Microsoft has recently revised several of their APIs.
>
> I think this is a regular occurence as part of their ongoing efforts
> to minimise backward and forward compatibility.
>
> >  One example is their ConnectEx(), as found in documentation [1].
>
> Does this represent a measurable improvement in a real-world
> situation?

The other consideration is that our syscalls are generally pretty quick 
on most of our platforms.  We don't normally context switch for a 
syscall - well, we save and restore registers, but that isn't too bad 
compared to the i386 tss and ldt etc switches for process context 
switches.
-- 
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


More information about the freebsd-arch mailing list