Re: __libc_single_threaded variable for optimizing std::shared_ptr (was: [PATCH, AArch64 00/11] LSE atomics out-of-line)

2019-02-04 Thread Jonathan Wakely
On 04/02/19 12:13 +0100, Florian Weimer wrote: * Richard Henderson: Therefore, I've created small out-of-line helpers that are directly linked into every library or executable that requires them. There will be two direct branches, both of which will be well-predicted. This work inspired me t

__libc_single_threaded variable for optimizing std::shared_ptr (was: [PATCH, AArch64 00/11] LSE atomics out-of-line)

2019-02-04 Thread Florian Weimer
* Richard Henderson: > Therefore, I've created small out-of-line helpers that are directly > linked into every library or executable that requires them. There > will be two direct branches, both of which will be well-predicted. This work inspired me to put together something that provides a simi

Re: [PATCH, AArch64 00/11] LSE atomics out-of-line

2018-09-28 Thread Ramana Radhakrishnan
On 27/09/2018 17:40, Richard Henderson wrote: On 9/27/18 6:07 AM, Ramana Radhakrishnan wrote: I do have an additional concern that I forgot to mention in Vancouver - Thanks Wilco for reminding me that this now replaces a bunch of inline instructions with effectively a library call therefore clo

Re: [PATCH, AArch64 00/11] LSE atomics out-of-line

2018-09-27 Thread Richard Henderson
On 9/27/18 6:07 AM, Ramana Radhakrishnan wrote: > I do have an additional concern that I forgot to mention in Vancouver - > > Thanks Wilco for reminding me that this now replaces a bunch of inline > instructions with effectively a library call therefore clobbering a whole > bunch > of caller save

Re: [PATCH, AArch64 00/11] LSE atomics out-of-line

2018-09-27 Thread Alexander Graf
> Am 27.09.2018 um 15:07 schrieb Ramana Radhakrishnan > : > >> On 26/09/2018 06:03, rth7...@gmail.com wrote: >> From: Richard Henderson >> ARMv8.1 adds an (mandatory) Atomics extension, also known as the >> Large System Extension. Deploying this extension at the OS level >> has proved challe

Re: [PATCH, AArch64 00/11] LSE atomics out-of-line

2018-09-27 Thread Ramana Radhakrishnan
On 26/09/2018 06:03, rth7...@gmail.com wrote: From: Richard Henderson ARMv8.1 adds an (mandatory) Atomics extension, also known as the Large System Extension. Deploying this extension at the OS level has proved challenging. The following is the result of a conversation between myself, Alex Gr

Re: [PATCH, AArch64 00/11] LSE atomics out-of-line

2018-09-26 Thread Michael Matz
Hi, On Wed, 26 Sep 2018, Florian Weimer wrote: > > Therefore, I've created small out-of-line helpers that are directly > > linked into every library or executable that requires them. There > > will be two direct branches, both of which will be well-predicted. > > This seems reasonable to me, co

Re: [PATCH, AArch64 00/11] LSE atomics out-of-line

2018-09-26 Thread Florian Weimer
* rth: > Therefore, I've created small out-of-line helpers that are directly > linked into every library or executable that requires them. There > will be two direct branches, both of which will be well-predicted. This seems reasonable to me, considering the trade-offs. If the indirect function

[PATCH, AArch64 00/11] LSE atomics out-of-line

2018-09-25 Thread rth7680
From: Richard Henderson ARMv8.1 adds an (mandatory) Atomics extension, also known as the Large System Extension. Deploying this extension at the OS level has proved challenging. The following is the result of a conversation between myself, Alex Graf of SuSE, and Ramana Radhakrishnan of ARM, at