This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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 v6 1/3] Tunables: Add tunables of spin count for pthread adaptive spin mutex



On 2018年07月04日 21:16, H.J. Lu wrote:
> On Tue, Jul 3, 2018 at 10:55 PM, Wang, Kemi <kemi.wang@intel.com> wrote:
>> BTW, do I need to submit v7 to fold these change?
>>
> 
> Please submit 2 sets of patches:
> 

Sure. Thanks for your time to help review!

> 1. Make MAX_ADAPTIVE_COUNT tunable. Are there any future tunable
> candidates in libpthread?

The one which uses MCS lock to queue spinner to improve the performance 
of adaptive mutex may be tunable in future.
Currently, it is pending review.

https://sourceware.org/ml/libc-alpha/2018-07/msg00005.html
https://sourceware.org/ml/libc-alpha/2018-07/msg00008.html
https://sourceware.org/ml/libc-alpha/2018-07/msg00009.html
https://sourceware.org/ml/libc-alpha/2018-07/msg00007.html
https://sourceware.org/ml/libc-alpha/2018-07/msg00006.html

> 2. Add atomic_spin_lock.
> 
> These should be independent of each other.
> 
> 


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