This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]