zsmalloc: factor page chain functionality out
authorMinchan Kim <[email protected]>
Tue, 26 Jul 2016 22:23:20 +0000 (15:23 -0700)
committerLinus Torvalds <[email protected]>
Tue, 26 Jul 2016 23:19:19 +0000 (16:19 -0700)
commitbdb0af7ca8f0e9f4c03a9169a744b22890641b64
treecb0bbec5771ceb7322d776f8e9389375eeecdbe9
parent4f42047bbde059823fe70381387257a9e3bd229c
zsmalloc: factor page chain functionality out

For page migration, we need to create page chain of zspage dynamically
so this patch factors it out from alloc_zspage.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Minchan Kim <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/zsmalloc.c