[PATCH 0/2] zswap: use charp type params instead of fixed-len strings

From: Dan Streetman
Date: Wed Aug 26 2015 - 14:33:06 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/