[PATCH 2/2] zswap: use charp for zswap param strings

2015-08-26 Thread Dan Streetman
Instead of using a fixed-length string for the zswap params, use charp. This simplifies the code and uses less memory, as most zswap param strings will be less than the current maximum length. Signed-off-by: Dan Streetman --- mm/zswap.c | 80

[PATCH 2/2] zswap: use charp for zswap param strings

2015-08-26 Thread Dan Streetman
Instead of using a fixed-length string for the zswap params, use charp. This simplifies the code and uses less memory, as most zswap param strings will be less than the current maximum length. Signed-off-by: Dan Streetman ddstr...@ieee.org --- mm/zswap.c | 80