Re: [PATCH v7 4/6] zsmalloc: Add a LRU to zs_pool to keep track of zspages in LRU order
From: Sergey Senozhatsky
Date: Tue Nov 29 2022 - 09:04:21 EST
On (22/11/29 12:53), Vitaly Wool wrote:
> I think the amount of #ifdefs here becomes absolutely overwhelming.
> Not that zsmalloc code was very readable before, but now it is
> starting to look like a plain disaster.
Presumably most of them will go away once LRU moved from
allocator to upper level.