]> git.baikalelectronics.ru Git - kernel.git/commit
zswap: dynamic pool creation
authorDan Streetman <ddstreet@ieee.org>
Wed, 9 Sep 2015 22:35:19 +0000 (15:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Sep 2015 20:29:01 +0000 (13:29 -0700)
commit4b9a62c9a5ee4b642df2340e37a264d82a286ea8
tree003d4063cbb127fc2f2950a3a69198c0860dda56
parentbb7fad888b5d7df287171d0f933318b6d89c5d3d
zswap: dynamic pool creation

Add dynamic creation of pools.  Move the static crypto compression per-cpu
transforms into each pool.  Add a pointer to zswap_entry to the pool it's
in.

This is required by the following patch which enables changing the zswap
zpool and compressor params at runtime.

[akpm@linux-foundation.org: fix merge snafus]
Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Acked-by: Seth Jennings <sjennings@variantweb.net>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/zswap.c