[PATCH v8 09/20] aarch64: Add glibc.cpu.aarch64_gcs tunable
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Thu Jan 16 12:29:05 GMT 2025
On 16/01/25 07:36, Yury Khrustalev wrote:
> On Wed, Jan 15, 2025 at 11:06:37AM -0300, Adhemerval Zanella Netto wrote:
>>
>> LGTM with a nit below.
>>
>> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
>>
>> ...
>>
>>> + aarch64_gcs {
>>> + type: UINT_64
>>> + minval: 0
>>
>> Maybe add a 'maxval: 1' here to limit the possible tunable values.
>
> I'll add this, thanks. However, I checked and it seems that maxval
> does not affect anything and you can supply any value via environment
> variable and it will be accepted. Still, better to make it explicit.
Yeah, the tunable range enforcement is one thing that is on my TODO list.
Having this information coded in the file does help though.
More information about the Libc-alpha
mailing list