summaryrefslogtreecommitdiffstats
path: root/mm/zsmalloc.c
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@ieee.org>2014-08-07 01:08:36 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-07 03:01:23 +0200
commitaf8d417a04564bca0348e7e3c749ab12a3e837ad (patch)
treece222a9643ba4a0afa675ed1f2d1b1447ec5174b /mm/zsmalloc.c
parentmm/zbud: change zbud_alloc size type to size_t (diff)
downloadlinux-af8d417a04564bca0348e7e3c749ab12a3e837ad.tar.xz
linux-af8d417a04564bca0348e7e3c749ab12a3e837ad.zip
mm/zpool: implement common zpool api to zbud/zsmalloc
Add zpool api. zpool provides an interface for memory storage, typically of compressed memory. Users can select what backend to use; currently the only implementations are zbud, a low density implementation with up to two compressed pages per storage page, and zsmalloc, a higher density implementation with multiple compressed pages per storage page. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Tested-by: Seth Jennings <sjennings@variantweb.net> Cc: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Weijie Yang <weijie.yang@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/zsmalloc.c')
-rw-r--r--mm/zsmalloc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index bb62a4adc328..6a1827d3d231 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -240,7 +240,6 @@ struct mapping_area {
enum zs_mapmode vm_mm; /* mapping mode */
};
-
/* per-cpu VM mapping areas for zspage accesses that cross page boundaries */
static DEFINE_PER_CPU(struct mapping_area, zs_map_area);