This resolves #540.
Add braces around single-line blocks, and remove line breaks before function-opening braces. This resolves #537.
This resolves #535.
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.