Re: [PATCH v2 5/5] zsmalloc: Implement writeback mechanism for zsmalloc

From: Johannes Weiner
Date: Fri Oct 28 2022 - 11:19:54 EST


On Thu, Oct 27, 2022 at 11:27:36AM -0700, Nhat Pham wrote:
> This commit adds the writeback mechanism for zsmalloc, analogous to the
> zbud allocator. Zsmalloc will attempt to determine the coldest zspage
> (i.e least recently used) in the pool, and attempt to write back all the
> stored compressed objects via the pool's evict handler.
>
> Signed-off-by: Nhat Pham <nphamcs@xxxxxxxxx>

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>