From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx133.postini.com [74.125.245.133]) by kanga.kvack.org (Postfix) with SMTP id 8E6E76B0036 for ; Tue, 9 Apr 2013 20:26:14 -0400 (EDT) Received: from /spool/local by e28smtp03.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 10 Apr 2013 05:52:21 +0530 Received: from d28relay01.in.ibm.com (d28relay01.in.ibm.com [9.184.220.58]) by d28dlp03.in.ibm.com (Postfix) with ESMTP id 6CDEB1258023 for ; Wed, 10 Apr 2013 05:57:32 +0530 (IST) Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r3A0PxOE65732690 for ; Wed, 10 Apr 2013 05:56:02 +0530 Received: from d28av02.in.ibm.com (loopback [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r3A0Q4pC023185 for ; Wed, 10 Apr 2013 10:26:04 +1000 From: Wanpeng Li Subject: [PATCH 00/10] staging: zcache/ramster: fix and ramster/debugfs improvement Date: Wed, 10 Apr 2013 08:25:50 +0800 Message-Id: <1365553560-32258-1-git-send-email-liwanp@linux.vnet.ibm.com> Sender: owner-linux-mm@kvack.org List-ID: To: Greg Kroah-Hartman Cc: Dan Magenheimer , Seth Jennings , Konrad Rzeszutek Wilk , Minchan Kim , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Bob Liu , Wanpeng Li 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 (9): staging: zcache: fix account foregin counters against zero-filled pages staging: zcache: remove zcache_freeze staging: ramster: Provide accessory functions for counter increase staging: ramster: Provide accessory functions for counter decrease 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 | 36 ++--- drivers/staging/zcache/ramster/HOWTO.txt | 257 ++++++++++++++++++++++++++++++ drivers/staging/zcache/ramster/debug.c | 66 ++++++++ drivers/staging/zcache/ramster/debug.h | 104 ++++++++++++ drivers/staging/zcache/ramster/ramster.c | 145 ++++------------- drivers/staging/zcache/zcache-main.c | 63 +++----- 8 files changed, 505 insertions(+), 175 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org