[PATCH PART3 v3 0/6] staging: zcache/ramster: fix and ramster/debugfs improvement

From: Wanpeng Li
Date: Fri Apr 12 2013 - 20:37:08 EST


Changelog:
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 (6):
staging: ramster: decrease foregin pers pages when count < 0
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 | 143 +++++++++++++++++
drivers/staging/zcache/ramster/ramster.c | 148 +++--------------
7 files changed, 573 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

--
1.7.10.4

--
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/