[PATCH] x86: Add thresholds for "rep movsb/stosb" to tunables

Carlos O'Donell carlos@redhat.com
Mon Jun 1 19:38:34 GMT 2020


On Mon, Jun 1, 2020 at 3:33 PM H.J. Lu <hjl.tools@gmail.com> wrote:
> Did you mean adding  --list-tunables to ld.so?  libc.so.6 doesn't take
> any arguments.

Yes, I mean adding argument processing to libc.so.6, and handling
--list-tunables.

We have enough infrastructure in place that wiring that up shouldn't be too bad?

Then, even in trimmed down containers, you can just run
/lib64/libc.so.6 --list-tunables and get back the list of tunables and
their min, max, and security values.

The alternative is a glibc-tunables binary which does only this, but
that seems like waste.

Cheers,
Carlos.



More information about the Libc-alpha mailing list