[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221110171831.19176-1-nphamcs@gmail.com>
Date: Thu, 10 Nov 2022 09:18:31 -0800
From: Nhat Pham <nphamcs@...il.com>
To: minchan@...nel.org
Cc: hannes@...xchg.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, ngupta@...are.org,
senozhatsky@...omium.org, akpm@...ux-foundation.org,
sjenning@...hat.com, ddstreet@...e.org, vitaly.wool@...sulko.com
Subject: Re: [PATCH v3 3/5] zsmalloc: Add a LRU to zs_pool to keep track of zspages in LRU order
> Please put the LRU logic under config ZSMALLOC_LRU since we don't need the
> additional logic to others.
I think the existing CONFIG_ZPOOL would be a good option for this purpose. It
should disable the LRU behavior for non-zswap use case (zram for e.g). The
eviction logic is also currently defined under this. What do you think,
Minchan?
Powered by blists - more mailing lists