From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11579 Path: news.gmane.org!.POSTED!not-for-mail From: Jens Gustedt Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH 4/8] determine the existence of private futexes at the first thread creation Date: Fri, 23 Jun 2017 23:48:25 +0200 Organization: inria.fr Message-ID: <20170623234825.161cdaf2@inria.fr> References: <20170623170535.GM1627@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/kgydh5RJFPFYYq3kz/XkF0j"; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1498254520 5557 195.159.176.226 (23 Jun 2017 21:48:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Jun 2017 21:48:40 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11592-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jun 23 23:48:36 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dOWRP-0001Cc-Gj for gllmg-musl@m.gmane.org; Fri, 23 Jun 2017 23:48:35 +0200 Original-Received: (qmail 20320 invoked by uid 550); 23 Jun 2017 21:48:38 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 20296 invoked from network); 23 Jun 2017 21:48:38 -0000 X-IronPort-AV: E=Sophos;i="5.39,380,1493676000"; d="scan'208";a="280407367" In-Reply-To: <20170623170535.GM1627@brightrain.aerifal.cx> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) X-Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAACRQTFRFERslNjAsLTE9Ok9wUk9TaUs8iWhSrYZkj42Rz6aD3sGZ Xref: news.gmane.org gmane.linux.lib.musl.general:11579 Archived-At: --Sig_/kgydh5RJFPFYYq3kz/XkF0j Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello Rich, On Fri, 23 Jun 2017 13:05:35 -0400 Rich Felker wrote: > This was intentional, the idea being that a 100% predictable branch in > a path where a syscall is being made anyway is much less expensive > than a GOT address load that gets hoisted all the way to the top of > the function and affects even code paths that don't need to make the > syscall. Whether it was a choice that makes sense overall, I'm not > sure, but that was the intent. So if we can avoid going through GOT, this would be better? I'd just add ATTR_LIBC_VISIBILITY to the variable, and then this should go away the same way as it is done for the libc object. Thanks Jens --=20 :: INRIA Nancy Grand Est ::: Camus ::::::: ICube/ICPS ::: :: ::::::::::::::: office Strasbourg : +33 368854536 :: :: :::::::::::::::::::::: gsm France : +33 651400183 :: :: ::::::::::::::: gsm international : +49 15737185122 :: :: http://icube-icps.unistra.fr/index.php/Jens_Gustedt :: --Sig_/kgydh5RJFPFYYq3kz/XkF0j Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSN9stI2OFN1pLljN0P0+hp2tU34gUCWU2MqQAKCRAP0+hp2tU3 4n+2AJsE1iLtB4xjST1YoWKpFk2HKkJMegCeIZHOU1hRYIEY5LJ48LzLc+CZHHA= =eGyY -----END PGP SIGNATURE----- --Sig_/kgydh5RJFPFYYq3kz/XkF0j--