From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38404 invoked by alias); 14 Nov 2017 09:18:07 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 38368 invoked by uid 89); 14 Nov 2017 09:18:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=BAYES_00,KB_WAM_FROM_NAME_SINGLEWORD,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:751, price, H*i:sk:5eb5ddb, sebastian X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 14 Nov 2017 09:18:05 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 984BFFC7BE for ; Tue, 14 Nov 2017 09:18:04 +0000 (UTC) Received: from calimero.vinschen.de (ovpn-116-51.ams2.redhat.com [10.36.116.51]) by smtp.corp.redhat.com (Postfix) with ESMTP id 635B693534 for ; Tue, 14 Nov 2017 09:18:04 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id 1F8AEA80990; Tue, 14 Nov 2017 10:18:03 +0100 (CET) Date: Tue, 14 Nov 2017 09:19:00 -0000 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: [PATCH 0/6] newlib/Cygwin: Allow more inlining of locale_t stuff Message-ID: <20171114091803.GA21663@calimero.vinschen.de> Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <20171113154616.25189-1-vinschen@redhat.com> <20171113155915.GE6054@calimero.vinschen.de> <5eb5ddb1-45e8-3b05-7327-764f30d7f060@embedded-brains.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <5eb5ddb1-45e8-3b05-7327-764f30d7f060@embedded-brains.de> User-Agent: Mutt/1.9.1 (2017-09-22) X-SW-Source: 2017/txt/msg01119.txt.bz2 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 691 On Nov 14 08:23, Sebastian Huber wrote: > On 13/11/17 16:59, Corinna Vinschen wrote: > > Having said that, I'm not overly happy with the Cygwin __getreent > > change. I'm not sure if performance is worth the price here. >=20 > There is also a price in terms of memory space here if we initialize > _REENT->_locale with __global_locale. Applications not using this > ctype/locale stuff will now also include the __global_locale. Isn't that always, or most of the time, the case anyway? The ctype functions call __locale_ctype_ptr() which in turn calls __get_current_locale(): return _REENT->_locale ?: __get_global_locale (); Corinna --=20 Corinna Vinschen Cygwin Maintainer Red Hat --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJaCrTKAAoJEPU2Bp2uRE+gGM0P/1LBZRe+Si3TMH+M92arvhB9 a7JRdTlSQpqDKGLoNRsKN2y3t/YVShwIVgZmjTPJQndxqcdoejOCTGaXsWVLmUba LSu/X4Ty/ZAL96Gbug/BxMvQQckbEB9Atfg4qzX0rUiN3XxNspk08Q0SVi7gRlWY kQxkIgwVMmKlm8HKY2iWKR/UBQlI2YeJzNL7YhVB4X9INZWSDebTOXQCKhBp10kM 0NimVJCtzgI/Utvy3iBZ5YtKSCHqAA6dJ/U9nS2MrvERtboZjkxaiSGi6oXVcuHm YeBqY06gvjFjQHTVj7ceXlWVU2aDCvl3eGo54kRGNLv7sQ/0UH/C9MsQg787mNoO 6eWBHE2B81OMjBx9TNBZM3DZTPv1H5ZAILEtttf5+tVPQFxWBLg3jx9HqByi1QQc DKSvss9V8GVoVKnfJVMyv8Dp2sYwAtVqVU1rWSFgUFw0NP3Sip63fGqL9W7Ns9as 4F7QT6rRjZS88VAg9Az4zajBkkyOfVguuG2Bb4vgte+Bpx4bxumKGmFB8+MoC1AM NN/oOJo+NEKWKq8hQ0J/CwIqC0lOID4JZDfXmMbzb4rLIdfNHS3cHRXmLj9hqu13 mB/dCQ+yZ05uI5cUfynTaqLnDcVezqLRdRYcsO0sQuTd0KifDU6hiw8wlHVMXrAK 3ud17bmjONyLNUULGZW3 =jylS -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--