Improvements to the custom huge page memory allocator.