Commit f1c54846 authored by Dan Streetman's avatar Dan Streetman Committed by Linus Torvalds

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

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

[ fix merge snafus]
Signed-off-by: default avatarDan Streetman <>
Acked-by: default avatarSeth Jennings <>
Cc: Sergey Senozhatsky <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 3f0e1312
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment