In article <20010502211800.X805@mea-ext.zmailer.org>,
Matti Aarnio <matti.aarnio@zmailer.org> wrote:
>On Sun, Apr 29, 2001 at 02:16:43PM -0700, Jim Gettys wrote:
>...
>> "X is an exercise in avoiding system calls". I think I said this around
>> 1984-1985.
>> - Jim
>
>I think that applies to all really high-performance servers.
Note that it is definitely not always true.
Linux system calls are reasonably light-weight. And sometimes trying to
avoid them ends up beaing _more_ work - because you might have to worry
about synchronization and cache coherency in user mode.
So the rule should be "avoid _unnecessary_ system calls".
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:14 EST