svn commit: r39189 - head/en_US.ISO8859-1/books/porters-handbook

Konstantin Belousov kostikbel at gmail.com
Thu Jul 12 15:06:03 UTC 2012


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-doc-head/attachments/20120712/14c61bcd/attachment.pgp


More information about the svn-doc-head mailing list