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. 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 | 72 +++++---------- 3 files changed, 212 insertions(+), 47 deletions(-) -- 2.39.0.314.g84b9a713c41-goog