Hi, This turns hard coded limit on maximum number of physical pages per-zspage into a config option. It also increases the default limit from 4 to 8. v3: -- Fixed zspage isolated bitfield overflow (Mike) -- Fixed parisc64 build failure (0day) -- Minumum chain size value is 4 now (which has been zsmalloc default for ages) -- Picked up Minchan's Acked-by Sergey Senozhatsky (4): zsmalloc: rework zspage chain size selection zsmalloc: skip chain size calculation for pow_of_2 classes zsmalloc: make zspage chain size configurable zsmalloc: set default zspage chain size to 8 Documentation/mm/zsmalloc.rst | 168 ++++++++++++++++++++++++++++++++++ mm/Kconfig | 19 ++++ mm/zsmalloc.c | 71 ++++++-------- 3 files changed, 213 insertions(+), 45 deletions(-) -- 2.39.0.314.g84b9a713c41-goog