Skip to content

staging: zcache/ramster: fix and ramster/debugfs improvement

Wanpeng Li linux-mm lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 3 repliesIn review
  2. v35 of 6 patches 3 repliesSuperseded
  3. v27 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v110 patches10 repliesSuperseded

Changes in v4 from the cover letter

* fix compile issue

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6staging: ramster: Move debugfs code out of ramster.c filedrivers/staging/zcache/Makefile drivers/staging/zcache/ramster/debug.c drivers/staging/zcache/ramster/debug.h +1 more+154 -1100 replies
2/6staging: ramster/debug: Use an array to initialize/use debugfs attributesdrivers/staging/zcache/ramster/debug.c+32 -360 replies
3/6staging: ramster: Add incremental accessory countersdrivers/staging/zcache/ramster/debug.h drivers/staging/zcache/ramster/ramster.c+83 -160 replies
4/6staging: ramster/debug: Add CONFIG_RAMSTER_DEBUG Kconfig entrydrivers/staging/zcache/Kconfig drivers/staging/zcache/Makefile drivers/staging/zcache/ramster/debug.h+10 -20 replies
5/6staging: zcache/debug: fix coding styledrivers/staging/zcache/debug.h+76 -190 replies
6/6staging: ramster: add how-to for ramsterdrivers/staging/zcache/ramster/HOWTO.txt+257 -03 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchDan Magenheimer
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b Singed-off-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH PART3 v4 0/6] staging: zcache/ramster: fix and ramster/debugfs improvement

Changelog:
v3 -> v4:
* fix compile issue
v2 -> v3:
* update patch description of staging: ramster: Move debugfs code out of ramster.c file
* update patch title of staging: ramster/debug: Add RAMSTER_DEBUG Kconfig entry
v1 -> v2:
* fix bisect issue
* fix issue in patch staging: ramster: Provide accessory functions for counter decrease
* drop patch staging: zcache: remove zcache_freeze
* Add Dan Acked-by

Fix bugs in zcache and rips out the debug counters out of ramster.c and sticks them in a debug.c file. Introduce accessory functions for counters increase/decrease, they are available when config RAMSTER_DEBUG, otherwise they are empty non-debug functions. Using an array to initialize/use debugfs attributes to make them neater. Dan Magenheimer confirm these works are needed. http://marc.info/?l=linux-mm&m=136535713106882&w=2

Patch 1~2 fix bugs in zcache

Patch 3~8 rips out the debug counters out of ramster.c and sticks them
in a debug.c file

Patch 9 fix coding style issue introduced in zcache2 cleanups
(s/int/bool + debugfs movement) patchset

Patch 10 add how-to for ramster

Dan Magenheimer (1):
staging: ramster: add how-to for ramster

Wanpeng Li (5):
staging: ramster: Move debugfs code out of ramster.c files
staging: ramster/debug: Use an array to initialize/use debugfs attributes
staging: ramster/debug: Add RAMSTER_DEBUG Kconfig entry
staging: ramster: Add incremental accessory counters
staging: zcache/debug: fix coding style

 drivers/staging/zcache/Kconfig           |    8 +
 drivers/staging/zcache/Makefile          |    1 +
 drivers/staging/zcache/debug.h           |   95 ++++++++---
 drivers/staging/zcache/ramster/HOWTO.txt |  257 ++++++++++++++++++++++++++++++
 drivers/staging/zcache/ramster/debug.c   |   66 ++++++++
 drivers/staging/zcache/ramster/debug.h   |  145 +++++++++++++++++
 drivers/staging/zcache/ramster/ramster.c |  147 +++--------------
 7 files changed, 574 insertions(+), 145 deletions(-)
 create mode 100644 drivers/staging/zcache/ramster/HOWTO.txt
 create mode 100644 drivers/staging/zcache/ramster/debug.c
 create mode 100644 drivers/staging/zcache/ramster/debug.h
Signature · 7 lines
1.7.10.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>