Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1200793
| From | Dan Streetman <ddstreet@ieee.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/3] make zswap params changeable at runtime |
| Date | 2015-08-05 16:00 +0200 |
| Message-ID | <pU7eX-2WR-29@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This is a resend of the patch series. It makes creation of the zpool and compressor dynamic, so that they can be changed at runtime. This makes using/configuring zswap easier, as before this zswap had to be configured at boot time, using boot params. This uses a single list to track both the zpool and compressor together, although Seth had mentioned an alternative which is to track the zpools and compressors using separate lists. In the most common case, only a single zpool and single compressor, using one list is slightly simpler than using two lists, and for the uncommon case of multiple zpools and/or compressors, using one list is slightly less simple (and uses slightly more memory, probably) than using two lists. Dan Streetman (3): zpool: add zpool_has_pool() zswap: dynamic pool creation zswap: change zpool/compressor at runtime include/linux/zpool.h | 2 + mm/zpool.c | 25 ++ mm/zswap.c | 683 ++++++++++++++++++++++++++++++++++++++------------ 3 files changed, 555 insertions(+), 155 deletions(-) -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/3] make zswap params changeable at runtime Dan Streetman <ddstreet@ieee.org> - 2015-08-05 16:00 +0200
[PATCH 3/3] zswap: change zpool/compressor at runtime Dan Streetman <ddstreet@ieee.org> - 2015-08-05 16:00 +0200
Re: [PATCH 3/3] zswap: change zpool/compressor at runtime Andrew Morton <akpm@linux-foundation.org> - 2015-08-05 22:20 +0200
Re: [PATCH 3/3] zswap: change zpool/compressor at runtime Dan Streetman <ddstreet@ieee.org> - 2015-08-06 12:10 +0200
[PATCH] zswap: comment clarifying maxlen Dan Streetman <ddstreet@ieee.org> - 2015-08-06 20:00 +0200
Re: [PATCH 3/3] zswap: change zpool/compressor at runtime Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2015-08-06 02:10 +0200
Re: [PATCH 3/3] zswap: change zpool/compressor at runtime Dan Streetman <ddstreet@ieee.org> - 2015-08-06 12:30 +0200
Re: [PATCH 3/3] zswap: change zpool/compressor at runtime Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2015-08-06 13:00 +0200
Re: [PATCH 3/3] zswap: change zpool/compressor at runtime Dan Streetman <ddstreet@ieee.org> - 2015-08-06 13:10 +0200
csiph-web