Renaming limit_usize_gap to disable_large_size_classes

This commit is contained in:
guangli-dai
2025-04-16 11:57:55 -07:00
committed by Qi Wang
parent 01e9ecbeb2
commit 8347f1045a
18 changed files with 78 additions and 68 deletions

View File

@@ -411,11 +411,11 @@ TEST_BEGIN(test_decay_never) {
size_t pdirty_prev = get_arena_pdirty(arena_ind);
size_t pmuzzy_prev = get_arena_pmuzzy(arena_ind);
/*
* With limit_usize_gap enabled, some more extents
* With sz_large_size_classes_disabled() = true, some more extents
* are cached in the dirty pool, making the assumption below
* not true.
*/
if (!sz_limit_usize_gap_enabled()) {
if (!sz_large_size_classes_disabled()) {
expect_zu_eq(pdirty_prev, 0, "Unexpected dirty pages");
}
expect_zu_eq(pmuzzy_prev, 0, "Unexpected muzzy pages");