[PATCH v6 4/4] Add system-wide tunables: Filters
DJ Delorie
dj@redhat.com
Thu Mar 26 17:38:50 GMT 2026
Yury Khrustalev <yury.khrustalev@arm.com> writes:
> For example, right now, the value from GLIBC_TUNABLES overrides
> the default value. Now, which one has higher priority, env var or
> system-wide config?
>
> I have an opinion here but I don't want to impose it :)
I think the config needs to be able to choose from these (ignoring the
defaults, for now, because we *always* have defaults):
1) system-wide
2) env var
1) system-wide only
1) env var only (by not mentioning it in tunables.conf)
The only other non-Sisyphean option would be:
1) system-wide
2) env var if numerically larger (closer to +Inf)
1) system-wide
2) env var if numerically smaller (closer to -Inf)
but that obviously won't include non-numeric tunables.
More information about the Libc-alpha
mailing list