Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1214124 > unrolled thread

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

Started byDan Streetman <ddstreet@ieee.org>
First post2015-08-26 20:40 +0200
Last post2015-08-26 20:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] zswap: use charp type params instead of fixed-len strings Dan Streetman <ddstreet@ieee.org> - 2015-08-26 20:40 +0200

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

FromDan Streetman <ddstreet@ieee.org>
Date2015-08-26 20:40 +0200
Subject[PATCH 0/2] zswap: use charp type params instead of fixed-len strings
Message-ID<q1NM5-5sE-9@gated-at.bofh.it>
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web