Date: Fri, 2 Oct 2015 10:43:12 -0400 From: Alex Merritt <merritt.alex@gmail.com> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Explicit superpage allocation Message-ID: <CADK3taL=wd5Uun_E-RJTG-LyrpK6E38PG28HY-GSPm0ATBouQw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all, mmap(2) states with first use of a memory region with backing frames not yet allocated and an appropriate alignment, the kernel will automatically use a larger page when given MAP_ALIGNED_SUPER. Is there a method to explicitly request a specific page size for an anonymous memory region? I want to perform measurements using 2MB-backed regions and 1GB-backed regions, but do not want the kernel to make arbitrary decisions underneath me. I am using 10.2 and Intel hardware. Thanks, Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADK3taL=wd5Uun_E-RJTG-LyrpK6E38PG28HY-GSPm0ATBouQw>