[PATCH v6 1/1] Created tunable to force small pages on stack allocation.

Cupertino Miranda cupertino.miranda@oracle.com
Thu Apr 20 20:52:15 GMT 2023


> I also sent an updated patch to detect when the split will always
> happen [1].  As I wrote in the patch, the tunable might still be
> required in some specific scenarios, but it would be good to have
> some heuristic to detect such scenarios if/when distros start to
> active THP to be always enabled.
>
> [1] https://patchwork.sourceware.org/project/glibc/patch/20230420172436.2013698-1-adhemerval.zanella@linaro.org/
>
I have seen it and agree that it is useful.
I will attempt to test it tomorrow if you would be interested in the
feedback. I presume the condition is very similar to what I tested
before.


More information about the Libc-alpha mailing list