On Mon, 2022-08-08 at 15:09 -0700, Andrew Morton wrote: > On Mon, 8 Aug 2022 16:46:58 -0400 Rik van Riel <riel@xxxxxxxxxxx> > wrote: > > > Align larger anonymous memory mappings on THP boundaries by > > going through thp_get_unmapped_area if THPs are enabled for > > the current process. > > > > With this patch, larger anonymous mappings are now THP aligned > > when checking in /proc/PID/maps, but only when THP is enabled > > for that process. > > > > What are the runtime effects of this change? The runtime effect is that when a malloc library allocates an arena that is a multiple of 2MB in size, the entire arena can be mapped using THPs, resulting in a lower TLB miss rate. -- All Rights Reversed.
Attachment:
signature.asc
Description: This is a digitally signed message part