Re: [PATCH -next v9 3/3] mm/zswap: delay the initialization of zswap

From: Christoph Hellwig
Date: Wed Apr 12 2023 - 11:21:35 EST


On Tue, Apr 11, 2023 at 05:36:32PM +0800, Liu Shixin wrote:
> Since some users may not use zswap, the zswap_pool is wasted. Save memory
> by delaying the initialization of zswap until enabled.
>
> Signed-off-by: Liu Shixin <liushixin2@xxxxxxxxxx>

Looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>