User: Password:
Subscribe / Log in / New account

Transparent hugepages

Transparent hugepages

Posted Oct 30, 2009 16:33 UTC (Fri) by giraffedata (subscriber, #1954)
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.

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds