Re: [PATCH 2/3] zsmalloc: add compaction and huge class callbacks

From: Sergey Senozhatsky
Date: Mon Oct 14 2019 - 06:40:42 EST


On (10/10/19 23:11), Vitaly Wool wrote:
[..]
> +static unsigned long zs_zpool_get_compacted(void *pool)
> +{
> + struct zs_pool_stats stats;
> +
> + zs_pool_stats(pool, &stats);
> + return stats.pages_compacted;
> +}

So zs_pool_stats() can become static?

-ss