[PATCH v8 0/6] elf: THP-aware load segment alignment

H.J. Lu hjl.tools@gmail.com
Fri Apr 10 01:00:41 GMT 2026


On Fri, Apr 10, 2026 at 7:33 AM Wilco Dijkstra <Wilco.Dijkstra@arm.com> wrote:
>
> Hi HJ,
>
> > Why a tunable at all?  Users may not set it.
>
> If it is already the default, users never need to set it. It makes benchmarking
> simpler at a cost that is ~10000x lower than checking the huge page size.
>

Even if THP isn't enabled by default, like for 32-bit mode.  We may still
want to enable THP on specific 32-bit applications.   A property bit provides
such flexibility without requiring the user to set a tunable at run-time.

-- 
H.J.


More information about the Libc-alpha mailing list