From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11194 invoked from network); 21 May 2023 19:16:27 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 21 May 2023 19:16:27 -0000 Received: (qmail 5502 invoked by uid 550); 21 May 2023 19:16:23 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 5467 invoked from network); 21 May 2023 19:16:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1684696570; i=nullplan@gmx.net; bh=c4aXJG9kw7CTxfOXTfv5Ez31F4cu93whG1iCc9jTqCA=; h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To; b=g/AU6NOPjA0SVv/gGsiFlfhCnlEyHZK1F6nmTRZQAjTSemv1SCCU/b8LIPiVdfP7Q 17av9XciBiFhZhnJMnWiLxsZggAoURw3t1uhzgGo1YRvr1RtgqCqUxdBaycEnwZp1R 3nGkBPiDNcPazJ2DttBzvbw6dI1yv1YtL8/fAbB436JJPQx3SJK3dBElS0zP7D0ROj W56I83cql1nxwn9bsrNaXbCss8hvXJ/ymg9BJy8Rn/0AqIz3XLF29sDD4gQnDvfMAL 52nsUsZnVR7eMs5dn7OfTb2ucUVqwsFqmQ5sdiPf5CYdZQlcq7CtKPH3j3IWsvHftV UtBqy8BdP5irw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Date: Sun, 21 May 2023 21:16:09 +0200 From: Markus Wichmann To: musl@lists.openwall.com Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: X-Provags-ID: V03:K1:0MwXh/qH6yM6/ou4RNb/88kr2rrD0hXqQ4rGecba0HDmplWPlx4 bgtE1SfC1kPtK/Uyp63dDdP6hJycxXFDd2UDNtaR4ef/kEXrTHPHY9cQGRr4Yjvk/UD3edd pbkNOYho3x3mZcJDJQALDcHYLU7uaoWQSEX/EKpEjRqikKQ4/ywDkrSUxvGCPfh3u3w32Wg Gl7dEHr7JggfhSZWjEGmg== UI-OutboundReport: notjunk:1;M01:P0:/99Vga0HHd8=;cOXwQU1ebM+93t/gakASontM5sp UcmLmk/Fo2/yzg8yx1YxQLqFt7x5ehDm4FbV3DsxwxqthPP9adLOxKbWIkFhv30er0Y2CWor9 8cjVzvd8yIBcJAPfZaufqGgZBN6r1b/Ks7rP+1bSUUdmx729sp7DWabSPxxGIwmth2LLj+h4H CrNxJyDDC2NNpKEHN9XDnXQ4/a/6yXFfXlvSu8ZRjeoisx0L/I8mZeXhsNOPGhSFkNqiyGa/E 9/IjbGg3IigW+v54MbCgopQvBwt6FkigWr7VnXZMe5nrPOxZAqrNAHPzWTAjY0rPB9lUa9LxM 8Oo1qBf5mYYBmH8JGBmsMwYtUgVImBh91NBGlwZDSi8YjLYsKRL+zQsVyYBJzNrE9RDkLMZR0 LFVjD++z+2wEgkv1DhL7ex5dCq6q+NNjFq5X79ipq9ylM3AhqXI1qPqyr5GXDdyydVelBAE/n unUn4Dn9ly7fDGblgbM9d15G6ZEMy9dq5KCkTRG2KD3xK7s9z+Y3QELKlEJAkTT6S/cV1gRb3 4GXlXBd7oL12aYs26Hcy8Sx+GPHOI9jONlge47q16sKcCdQtyyk5X6GLZhM2sM+ryMoeIJRve kK6DJ7th5x/aWjHk01h904nf5IVIw7zP0DCgBbvpuzgvenA1s1fUIXHvN4JCWbCwCUbtEfNVt YowiojRoJ0Q2ouMXHPIHYhdqTKzrjVpg787NWnGOPjL5y7qqb16I/pHfQsWkyyYxXCrTB3VDr lTFQdRo0rGiqAIXASLsLprWD5Ai6mLj+kcDnE1m8+kCug99EZEiGXss6U+TXZAlg3dG28YYX5 kRsG0u63Y3Ugy48WyldM0aiNr9rLNKe+XnOfjb7d13Gi+20csVjarnCriqGrw1BcNBu4dMciQ WxnQUgML5V+/TR0mYPOlQfNNpIS29IxePRNcVLsg8fDBLDYveF1OJ2C8T/vy5uG0I9YXJMbR0 kXxI0g== Subject: Re: [musl] Re:Re: Re: [musl] =?utf-8?Q?Que?= =?utf-8?B?c3Rpb27vvJpXaHk=?= musl call a_barrier in __pthread_once? Am Thu, May 18, 2023 at 10:37:06PM +0800 schrieb 847567161: > How about the implement of aosp=EF=BC=9F Didn't they follow the posix= =EF=BC=9F > http://aospxref.com/android-13.0.0_r3/xref/bionic/libc/bionic/pthread_on= ce.cpp#41 > Apparently not. If the initialization routine is cancelled, the control variable is not reset to 0, so all future calls to pthread_once() on the same variable will just hang. But that can be remedied with adding the requisite pthread_cleanup_push()/pop() calls around the call to the init routine. Besides it doesn't help your case. You wanted to remove the "dmb" instruction right? Well, that code adds it if the compiler thinks it is necessary, and GCC trunk for ARM does so: https://godbolt.org/z/WcrfTdTx5 Ciao, Markus