Date: Thu, 12 Jul 2012 18:05:48 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: Isabell Long <issyl0@freebsd.org> Cc: svn-doc-head@freebsd.org, svn-doc-all@freebsd.org, doc-committers@freebsd.org Subject: Re: svn commit: r39189 - head/en_US.ISO8859-1/books/porters-handbook Message-ID: <20120712150548.GK2338@deviant.kiev.zoral.com.ua> In-Reply-To: <201207121412.q6CECngA011553@svn.freebsd.org> References: <201207121412.q6CECngA011553@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--torhSq8vx5CpbktL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > 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. --torhSq8vx5CpbktL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEUEARECAAYFAk/+58wACgkQC3+MBN1Mb4hOhgCWL2iIy0TzJS9YjLwJfUW8bZ6r VgCbB2YYuoRXVYrGHNCZu5EITgpkGK8= =JmDe -----END PGP SIGNATURE----- --torhSq8vx5CpbktL--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120712150548.GK2338>