Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 22 May 2023 09:53:05 +0800
From: "847567161" <>
To: "musl" <>
Subject: Re:Re: Re: Question:Why musl call a_barrier in __pthread_once?


&gt;Besides it doesn't help your case. You wanted to remove the "dmb"
&gt;instruction right? Well, that code adds it if the compiler thinks it is
&gt;necessary, and GCC trunk for ARM does so:

I compared the implement between musl and bionic in assembly code, 
I see bionic don't generate 'dmb' with clang, you can also check in here,
So it has better performance in comman case which init function is done.

So can we do any optimization here? 

Chuang Yin

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.