[PATCH v6 5/6] elf: Align large load segments to PMD huge page size for THP
Wilco Dijkstra
Wilco.Dijkstra@arm.com
Wed Mar 11 17:43:33 GMT 2026
Hi Rui,
> David Hildenbrand mentioned that READ_ONLY_THP_FOR_FS will likely go
> away soon. [1]
I double checked, and while that config flag may go, the feature is essentially
a default now. Even without any extra alignment, iTLB misses are significantly
lower when you use [madvise] or [always], so it is already using large/huge
pages automatically.
Cheers,
Wilco
More information about the Libc-alpha
mailing list