aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/zsmalloc/Kconfig
blob: a5ab7200626fda097fc7bfe13887f6fa5dc364bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.