From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dellerweb.de (dellerweb.de [173.249.48.176]) by sourceware.org (Postfix) with ESMTPS id 7C0043858D20 for ; Wed, 5 Apr 2023 18:59:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7C0043858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=parisc-linux.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=parisc-linux.org Received: from mx3210.localdomain (bras-base-otwaon0925w-grc-09-174-95-58-126.dsl.bell.ca [174.95.58.126]) by dellerweb.de (Postfix) with ESMTPSA id EB95E16000FE; Wed, 5 Apr 2023 20:59:29 +0200 (CEST) Received: by mx3210.localdomain (Postfix, from userid 1000) id EF62C22011C; Wed, 5 Apr 2023 18:59:27 +0000 (UTC) Date: Wed, 5 Apr 2023 18:59:27 +0000 From: John David Anglin To: libc-alpha@sourceware.org Cc: Helge Deller Subject: [committed] hppa: Update struct __pthread_rwlock_arch_t comment Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="iIX8bU3KNJqHRqxv" Content-Disposition: inline X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00,GIT_PATCH_0,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --iIX8bU3KNJqHRqxv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Committed to master. Dave --- hppa: Update struct __pthread_rwlock_arch_t comment. Signed-off-by: John David Anglin diff --git a/sysdeps/hppa/nptl/bits/struct_rwlock.h b/sysdeps/hppa/nptl/bit= s/struct_rwlock.h index 59bc9fe76f..762b05b2ec 100644 --- a/sysdeps/hppa/nptl/bits/struct_rwlock.h +++ b/sysdeps/hppa/nptl/bits/struct_rwlock.h @@ -27,11 +27,11 @@ struct __pthread_rwlock_arch_t next four words are all set to 1 by the Linuxthreads PTHREAD_RWLOCK_INITIALIZER. We ignore them in NPTL. =20 - The 16-byte aligned lock stucture causes various pthread - structures to be over aligned. This causes some builds - to fail which assume a maximum alignment of 8 bytes. - Linuxthreads has been removed for 12 years, so drop - alignment of lock structure. */ + The 16-byte aligned lock stucture is not needed for NPTL. + It causes some package builds to fail (e.g., protobuf) and + issues with dynamic memory allocation in C++ versions prior + to C++17. Removing it allows for more efficient allocators + and better compatibility with other architectures. */ int __compat_padding[4]; unsigned int __readers; unsigned int __writers; --iIX8bU3KNJqHRqxv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEnRzl+6e9+DTrEhyEXb/Nrl8ZTfEFAmQtxQgACgkQXb/Nrl8Z TfGCbA/+LoSbY5ieolvtMZ1hAfRpYWk0+uKotuFKYntoHrSUzU/Ts7clr676ExI0 NDTz/+Vn/M6O9b0wXJ4gI7tQZvum0+kYaNh/HOr9ACvUJLF7I85Aypjrl3qMIq+b CyUEPfIuzfQfYahxNgEvPq6khvAzeCNfGTlVyzw1qfkxcoDwiYPKleVpCODGqflf qAg9/N2TIXCnWYzAgpIwJ36VTRxFUXwZCHtG4tlcvUz680psTnpBLkqkhtLdjYS0 apeHNKnwTgZ9NPCN8MlTDjSBpD1hQ6ElOI7US9EMwGvzMGmCpGFpwNSti9G5zvph VHheiYNtay0gjllWHzr/V70tb0HJXTSZ+WN2zhmjOVvLIIp3j0fV45h8hZ1S9g6X P5YxF2K/u4SHYyIo99Y2fhzvOadcHWsceRBFwnxafmBiIioI0CR3J6PJIS/qzRa6 BNRLPLZBFowqLa2tcKlCvjW94qexZti3ZMVNJ1/oBJNk8GdRDvprMf9XKpqaXUt6 LWmlopfgCQtzj2gu1KonZvOA7lkXolxxwMdtP7+8oA4D4U/rB82yexrjHrXOqVOu 5yUNgCKhumgbXug0kPS/IcaCoenFJzurONwYFvh4cJSDPfRMi0PXHYcz/kWcgeTX ohghnxHZLtuL6YSsR33CQcJYaNf9V+y2TzFt8/D3xzCOTSX6sZY= =Jqf+ -----END PGP SIGNATURE----- --iIX8bU3KNJqHRqxv--