commit | c1baa0a9b7b05ebf98221dc7deb12c28e170a399 | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Thu Nov 17 13:36:17 2016 -0800 |
committer | Jason Evans <jasone@canonware.com> | Mon Dec 26 17:59:34 2016 -0800 |
tree | c750107c4d3da8bc4222961866267e2939fb6241 | |
parent | eab3b180e59d6b23fee5fd2165f96402e7341cba [diff] |
Add huge page configuration and pages_[no}huge(). Add the --with-lg-hugepage configure option, but automatically configure LG_HUGEPAGE even if it isn't specified. Add the pages_[no]huge() functions, which toggle huge page state via madvise(..., MADV_[NO]HUGEPAGE) calls.