Skip to content

Commit

Permalink
zswap: dynamic pool creation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Streetman authored and Linus Torvalds committed Sep 10, 2015
1 parent 3f0e131 commit f1c5484
Showing 1 changed file with 405 additions and 143 deletions.
Loading

0 comments on commit f1c5484

Please sign in to comment.