[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y4UL3yF9erST4nEp@cmpxchg.org>
Date: Mon, 28 Nov 2022 14:28:31 -0500
From: Johannes Weiner <hannes@...xchg.org>
To: Nhat Pham <nphamcs@...il.com>
Cc: akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, minchan@...nel.org,
ngupta@...are.org, senozhatsky@...omium.org, sjenning@...hat.com,
ddstreet@...e.org, vitaly.wool@...sulko.com
Subject: Re: [PATCH v7 6/6] zsmalloc: Implement writeback mechanism for
zsmalloc
On Mon, Nov 28, 2022 at 11:16:15AM -0800, 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@...il.com>
Ok, this now also has the get_first_page() and the cond_resched() that
Sergey had asked for. Looks good to me.
Acked-by: Johannes Weiner <hannes@...xchg.org>
Powered by blists - more mailing lists