[PATCH] PR libstdc++/71312 Increase alignment of pooled mutexes

François Dumont frs.dumont@gmail.com
Thu May 2 19:43:00 GMT 2019


I am surprised that 64 bytes is not more platform dependent. Is it a 
convention that 64 is greater or equal to the largest cache line known 
so far ?

François

On 4/29/19 2:55 PM, Jonathan Wakely wrote:
>     PR libstdc++/71312
>     * src/c++11/shared_ptr.cc (get_mutex): Align pool mutexes to 64 
> bytes.
>
> Tested powerpc64le-linux, committed to trunk.
>



More information about the Libstdc++ mailing list