summaryrefslogtreecommitdiffstats
path: root/configs/fedora/generic/CONFIG_ZSMALLOC_PGTABLE_MAPPING
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2020-08-27 06:00:48 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-08-27 06:00:48 +0200
commite21addedc45543075a08e41ec9f737c2642ec117 (patch)
tree9abf42b856fe76b5dd47fde8086e206cea2b1e35 /configs/fedora/generic/CONFIG_ZSMALLOC_PGTABLE_MAPPING
parent7c4a6bcef44e10150e40409c0e46f2aeb4504c0b (diff)
parentf96c39f21373fa19f795a45724c92b515124b0c7 (diff)
downloadkernel-e21addedc45543075a08e41ec9f737c2642ec117.tar.gz
kernel-e21addedc45543075a08e41ec9f737c2642ec117.tar.xz
kernel-e21addedc45543075a08e41ec9f737c2642ec117.zip
merge origin (rebase to 5.8)kernel-5.8.4-250.vanilla.knurd.1.fc32
Diffstat (limited to 'configs/fedora/generic/CONFIG_ZSMALLOC_PGTABLE_MAPPING')
-rw-r--r--configs/fedora/generic/CONFIG_ZSMALLOC_PGTABLE_MAPPING23
1 files changed, 23 insertions, 0 deletions
diff --git a/configs/fedora/generic/CONFIG_ZSMALLOC_PGTABLE_MAPPING b/configs/fedora/generic/CONFIG_ZSMALLOC_PGTABLE_MAPPING
new file mode 100644
index 000000000..2f3d89cf6
--- /dev/null
+++ b/configs/fedora/generic/CONFIG_ZSMALLOC_PGTABLE_MAPPING
@@ -0,0 +1,23 @@
+# CONFIG_ZSMALLOC_PGTABLE_MAPPING:
+#
+# By default, zsmalloc uses a copy-based object mapping method to
+# access allocations that span two pages. However, if a particular
+# architecture (ex, ARM) performs VM mapping faster than copying,
+# then you should select this. This causes zsmalloc to use page table
+# mapping rather than copying for object mapping.
+#
+# You can check speed with zsmalloc benchmark:
+# https://github.com/spartacus06/zsmapbench
+#
+# Symbol: ZSMALLOC_PGTABLE_MAPPING [=n]
+# Type : bool
+# Defined at mm/Kconfig:708
+# Prompt: Use page table mapping to access object in zsmalloc
+# Depends on: ZSMALLOC [=y]=y
+# Location:
+# -> Memory Management options
+# -> Memory allocator for compressed pages (ZSMALLOC [=y])
+#
+#
+#
+# CONFIG_ZSMALLOC_PGTABLE_MAPPING is not set