Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1214124
| From | Dan Streetman <ddstreet@ieee.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2] zswap: use charp type params instead of fixed-len strings |
| Date | 2015-08-26 20:40 +0200 |
| Message-ID | <q1NM5-5sE-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
These patches change zswap to use charp type params instead of the existing fixed length char[] buffers for the zpool and compressor params. This saves memory and simplifies the param setting function. Dan Streetman (2): module: export param_free_charp() zswap: use charp for zswap param strings include/linux/moduleparam.h | 1 + kernel/params.c | 3 +- mm/zswap.c | 80 ++++++++++++++++++++++----------------------- 3 files changed, 43 insertions(+), 41 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 | Find similar | Unroll thread
[PATCH 0/2] zswap: use charp type params instead of fixed-len strings Dan Streetman <ddstreet@ieee.org> - 2015-08-26 20:40 +0200
csiph-web