Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936099Ab3DJA2j (ORCPT ); Tue, 9 Apr 2013 20:28:39 -0400 Received: from e28smtp06.in.ibm.com ([122.248.162.6]:47632 "EHLO e28smtp06.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765442Ab3DJA0N (ORCPT ); Tue, 9 Apr 2013 20:26:13 -0400 From: Wanpeng Li 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 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> X-Mailer: git-send-email 1.7.5.4 X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13041000-9574-0000-0000-0000076645FC Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2303 Lines: 52 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 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/