[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1299055090-23976-1-git-send-email-namei.unix@gmail.com>
Date: Wed, 2 Mar 2011 16:38:06 +0800
From: Liu Yuan <namei.unix@...il.com>
To: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
jaxboe@...ionio.com, akpm@...ux-foundation.org,
fengguang.wu@...el.com
Subject: [RFC PATCH 1/5] x86/Kconfig: Add Page Cache Accounting entry
From: Liu Yuan <tailai.ly@...bao.com>
Signed-off-by: Liu Yuan <tailai.ly@...bao.com>
---
arch/x86/Kconfig.debug | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index 615e188..f29e32d 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -304,4 +304,13 @@ config DEBUG_STRICT_USER_COPY_CHECKS
If unsure, or if you run an older (pre 4.4) gcc, say N.
+config PAGE_CACHE_ACCT
+ bool "Page cache accounting"
+ ---help---
+ Enabling this options to account for page cache hit/missed number of
+ times. This would allow user space applications get better knowledge
+ of underlying page cache system by reading virtual file. The statitics
+ per partition are collected.
+
+ If unsure, say N.
endmenu
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists