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: [RESEND PATCH v9] Mutex: Add pthread mutex tunables


On 11/28/18 12:21 AM, kemi wrote:
>>>> +
>>>> +glibc {
>>>> +  pthread {
>>>> +    mutex_spin_count {
>>>> +      type: INT_32
>>>> +      minval: 0
>>>> +      maxval: 30000
>>>> +      default: 100
>>>> +    }
>>>> +  }
>>>> +}
>>>>
> I don't like the duplication of DEFAULT_ADAPTIVE_MAX here,
> similarly all the other duplicated parameters in glibc.elision
> namespace, but I don't think we can do better without a lot
> more work to allow macro expansion.
> 
> OK.
>  let's just keep the magic number 100 here?

Yes. That's fine. I started another thread for this:
https://www.sourceware.org/ml/libc-alpha/2018-11/msg00723.html

-- 
Cheers,
Carlos.


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