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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]