diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index febf33f5608d..71330de899e1 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -481,7 +481,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;