[PATCH v6 1/3] Tunables: Add tunables of spin count for pthread adaptive spin mutex
kemi
kemi.wang@intel.com
Thu Jul 5 01:31:00 GMT 2018
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.
>
>
More information about the Libc-alpha
mailing list