]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitf1c54846ee4504d89b59b04d870831db4046b478
tree003d4063cbb127fc2f2950a3a69198c0860dda56
parent3f0e131221eb951c45c93d1cce9db73889be2a5e
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