Re: [PATCHv2 2/4] zsmalloc: skip chain size calculation for pow_of_2 classes

From: Minchan Kim
Date: Fri Jan 13 2023 - 12:45:51 EST


On Mon, Jan 09, 2023 at 12:38:36PM +0900, Sergey Senozhatsky wrote:
> If a class size is power of 2 then it wastes no memory
> and the best configuration is 1 physical page per-zspage.
>
> Signed-off-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>
Acked-by: Minchan Kim <minchan@xxxxxxxxxx>