Merge tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[cascardo/linux.git] / drivers / staging / zsmalloc / Kconfig
1 config ZSMALLOC
2         tristate "Memory allocator for compressed pages"
3         # X86 dependency is because of the use of __flush_tlb_one and set_pte
4         # in zsmalloc-main.c.
5         # TODO: convert these to portable functions
6         depends on X86
7         default n
8         help
9           zsmalloc is a slab-based memory allocator designed to store
10           compressed RAM pages.  zsmalloc uses virtual memory mapping
11           in order to reduce fragmentation.  However, this results in a
12           non-standard allocator interface where a handle, not a pointer, is
13           returned by an alloc().  This handle must be mapped in order to
14           access the allocated space.