Re: [PATCH v7 6/6] zsmalloc: Implement writeback mechanism for zsmalloc
From: Sergey Senozhatsky
Date: Mon Nov 28 2022 - 22:58:21 EST
On (22/11/28 11:16), 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>
Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>