[RFC] Using large pages for large hash tables
Rafael Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 17 09:13:28 PDT 2016
>> Would the same interface work on windows?
> Yes, using VirtualAlloc using MEM_LARGE_PAGES flag:
> Size can be determined using GetLargePageMinimum(), or a multiple of it.
Thanks a lot for the pointer. With that API one has to use
> Do common implementations of malloc allocate (large) pages
> automatically when the allocated size is large enough?
Looks like at least glibc does not.
More information about the llvm-commits