Enforce page alignment for sampled allocations.

This allows sampled allocations to be checked through alignment, therefore
enable sized deallocation regardless of cache_oblivious.
This commit is contained in:
Qi Wang
2020-01-28 17:32:45 -08:00
committed by Qi Wang
parent 0f552ed673
commit 88d9eca848
3 changed files with 62 additions and 39 deletions

View File

@@ -59,8 +59,8 @@ test_extent_body(unsigned arena_ind) {
assert_true(called_decommit, "Expected decommit call");
assert_true(did_purge_lazy || did_purge_forced,
"Expected purge");
assert_true(called_split, "Expected split call");
}
assert_true(called_split, "Expected split call");
dallocx(p, flags);
try_dalloc = true;