svn commit: r39189 - head/en_US.ISO8859-1/books/porters-handbook
utisoft at gmail.com
Thu Jul 12 15:32:21 UTC 2012
On Jul 12, 2012 4:06 PM, "Konstantin Belousov" <kostikbel at gmail.com> wrote:
> On Thu, Jul 12, 2012 at 02:12:49PM +0000, Isabell Long wrote:
> > Author: issyl0
> > Date: Thu Jul 12 14:12:49 2012
> > New Revision: 39189
> > URL: http://svn.freebsd.org/changeset/doc/39189
> > Log:
> > Add a section to the Dos and Don'ts section of the porter's handbook
> > about avoiding Linuxisms.
> > + <para>A number of simple syscalls (for example
> > + &man.gettimeofday.2;, &man.getpid.2;) are much faster on
> > + &linux; than on any other operating system due to caching and
> > + the vsyscall performance optimizations. Do not rely on them
> > + being cheap in performance-critical applications. In general,
> > + try hard to avoid syscalls if possible.</para>
> And this is not quite true for HEAD and soon for RELENG_9.
Quite true, so there are others that may be more true. What syscalls
remain that are expensive for us that could be used as examples?
More information about the svn-doc-all