[PATCH v7 1/4] Add system-wide tunables: ldconfig part
DJ Delorie
dj@redhat.com
Mon Jun 15 19:30:19 GMT 2026
Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> writes:
>> +/* An array of [num_tunables] of these follows the below. */
>> +struct tunable_entry_cached {
>> + uint32_t flags;
>> + uint32_t tunable_id;
>> + uint32_t name_offset;
>> + uint32_t value_offset;
>> + uint32_t flag_offset;
>> + uint32_t unused_1; /* for alignment */
>> + uint64_t parsed_value;
>> +};
>
> I think we should also enforce alignment on cache_extension_verify, similar
> on how the hwcap ones are done. It might help potential issues on strict-align
> architecture (rare, but still out there).
Done.
More information about the Libc-alpha
mailing list