[PATCH 0/3] malloc: improve THP effectiveness

Siddhesh Poyarekar siddhesh@sourceware.org
Tue Aug 17 04:00:15 GMT 2021


On 8/17/21 2:25 AM, Adhemerval Zanella via Libc-alpha wrote:
> I am reworking this patchset and I intend to add an option to use
> MAP_HUGETLB as well.

A low hanging fruit for adding MAP_HUGETLB may be at the mmap threshold; 
whenever it crosses the hugepage size, always use MAP_HUGETLB for 
mmapped blocks if the user requests it via tunable.

Siddhesh


More information about the Libc-alpha mailing list