diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index c4ae608dc725bc92baeb5340808ebd83a675b333..3bd8b0a1646297c76b3e69bfd9aa7774f70762e8 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -480,7 +480,7 @@ static enum fullness_group get_fullness_group(struct page *page) fg = ZS_EMPTY; else if (inuse == max_objects) fg = ZS_FULL; - else if (inuse <= max_objects / fullness_threshold_frac) + else if (inuse <= 3 * max_objects / fullness_threshold_frac) fg = ZS_ALMOST_EMPTY; else fg = ZS_ALMOST_FULL;