Posted Oct 30, 2009 16:33 UTC (Fri) by giraffedata
Parent article: Transparent hugepages
he would like an application to be able to request large pages with a simple madvise() system call
That sounds like an abuse of madvise(). madvise() isn't supposed to instruct the OS on how to provide virtual memory. It's supposed to advise the OS on how the process will use the memory. "I will access this range uniformly" would be something that might inspire the OS to use large pages.
to post comments)