Fix ArenaTest.UnmappedAllocation for transparent huge pages
Summary: ... by allocating in increments (1MiB) smaller than the typical smallest huge page size of 2MiB.
Fixes #12351
Test Plan:
sudo bash -c 'echo "always" > /sys/kernel/mm/transparent_hugepage/enabled'
And see unit test fails before this change, passes after this change
@pdillinger has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
Unfortunately, this doesn't fix an internal failure in this test that we are seeing.
@pdillinger has updated the pull request. You must reimport the pull request before landing.
@pdillinger has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@pdillinger merged this pull request in facebook/rocksdb@41849210e9acaba9a0d5bf842cf321f9328a212b.