diff options
Diffstat (limited to 'drivers/staging/zsmalloc/Kconfig')
-rw-r--r-- | drivers/staging/zsmalloc/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/staging/zsmalloc/Kconfig b/drivers/staging/zsmalloc/Kconfig new file mode 100644 index 0000000..a5ab720 --- /dev/null +++ b/drivers/staging/zsmalloc/Kconfig @@ -0,0 +1,14 @@ +config ZSMALLOC + tristate "Memory allocator for compressed pages" + # X86 dependency is because of the use of __flush_tlb_one and set_pte + # in zsmalloc-main.c. + # TODO: convert these to portable functions + depends on X86 + 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. |