summaryrefslogtreecommitdiffstats
path: root/drivers/staging/zsmalloc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/zsmalloc/Kconfig')
-rw-r--r--drivers/staging/zsmalloc/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/staging/zsmalloc/Kconfig b/drivers/staging/zsmalloc/Kconfig
new file mode 100644
index 0000000..3e7a8d4
--- /dev/null
+++ b/drivers/staging/zsmalloc/Kconfig
@@ -0,0 +1,11 @@
+config ZSMALLOC
+ tristate "Memory allocator for compressed pages"
+ depends on SPARSEMEM
+ default n
+ help
+ zsmalloc is a slab-based memory allocator designed to store
+ compressed RAM pages. zsmalloc uses virtual memory mapping
+ in order to reduce fragmentation. However, this results in a
+ non-standard allocator interface where a handle, not a pointer, is
+ returned by an alloc(). This handle must be mapped in order to
+ access the allocated space.
OpenPOWER on IntegriCloud