[PATCH v3 1/3] Tunables: Add tunables of spin count for pthread adaptive spin mutex

Wang, Kemi kemi.wang@intel.com
Thu Jun 7 15:02:00 GMT 2018


> I think the applicable comments from the commit message should be included in here.

Sure.

BTW,  I plan to make this optimization opt-in, and enable it for x86 architecture as default.
As you suggested before. 

-----Original Message-----
From: Florian Weimer [mailto:fweimer@redhat.com] 
Sent: Thursday, June 7, 2018 9:10 PM
To: Wang, Kemi <kemi.wang@intel.com>; Adhemerval Zanella <adhemerval.zanella@linaro.org>; Rical Jason <rj@2c3t.io>; Carlos Donell <carlos@redhat.com>; Glibc alpha <libc-alpha@sourceware.org>
Cc: Dave Hansen <dave.hansen@linux.intel.com>; Chen, Tim C <tim.c.chen@intel.com>; Kleen, Andi <andi.kleen@intel.com>; Huang, Ying <ying.huang@intel.com>; Lu, Aaron <aaron.lu@intel.com>; Li, Aubrey <aubrey.li@intel.com>
Subject: Re: [PATCH v3 1/3] Tunables: Add tunables of spin count for pthread adaptive spin mutex

On 05/23/2018 11:22 AM, Kemi Wang wrote:
> +  mutex {
> +    spin_count {
> +      type: INT_32
> +      minval: 0
> +      maxval: 30000
> +      default: 100
> +    }
> +  }

I think the applicable comments from the commit message should be included in here.

Thanks,
Florian


More information about the Libc-alpha mailing list