aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Senozhatsky <[email protected]>2023-01-18 09:52:10 +0900
committerAndrew Morton <[email protected]>2023-02-02 22:33:23 -0800
commitb46402fa894f88ddb42a2e841618a8f42f57d16d (patch)
treea84d783c8a4a4f2b8a027d8b7966694f203b22fe
parent4ff93b292c0b91b9a7c9fb54643f122bbe59d8d0 (diff)
zsmalloc: set default zspage chain size to 8
This changes key characteristics (pages per-zspage and objects per-zspage) of a number of size classes which in results in different pool configuration. With zspage chain size of 8 we have more size clases clusters (123) and higher huge size class watermark (3632 bytes). Please read zsmalloc documentation for more details. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Sergey Senozhatsky <[email protected]> Acked-by: Minchan Kim <[email protected]> Cc: Mike Kravetz <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
-rw-r--r--mm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index 83b1d278b31c..4751031f3f05 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -193,7 +193,7 @@ config ZSMALLOC_STAT
config ZSMALLOC_CHAIN_SIZE
int "Maximum number of physical pages per-zspage"
- default 4
+ default 8
range 4 16
depends on ZSMALLOC
help