mbox series

[PATCHv3,0/4] zsmalloc: make zspage chain size configurable

Message ID 20230118005210.2814763-1-senozhatsky@chromium.org (mailing list archive)
Headers show
Series zsmalloc: make zspage chain size configurable | expand

Message

Sergey Senozhatsky Jan. 18, 2023, 12:52 a.m. UTC
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(-)