[Devel] [PATCH rh7 08/11] ub: kill ub_dcache_threshold sysctl knob

Vladimir Davydov vdavydov at parallels.com
Wed May 20 05:09:17 PDT 2015


This is a leftover of dcache accounting, which has already been removed.

Signed-off-by: Vladimir Davydov <vdavydov at parallels.com>
---
 kernel/bc/beancounter.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/kernel/bc/beancounter.c b/kernel/bc/beancounter.c
index ee888d093583..4421e9fc379c 100644
--- a/kernel/bc/beancounter.c
+++ b/kernel/bc/beancounter.c
@@ -78,8 +78,6 @@ const char *ub_rnames[] = {
 	"swappages",
 };
 
-unsigned int ub_dcache_threshold __read_mostly = 4 * 1024; /* ~7Mb per container */
-
 /* default maximum perpcu resources precharge */
 int ub_resource_precharge[UB_RESOURCES] = {
 	[UB_PRIVVMPAGES]= 256,
@@ -1010,13 +1008,6 @@ static ctl_table ub_sysctl_table[] = {
 		.mode		= 0644,
 		.proc_handler	= &proc_resource_precharge,
 	},
-	{
-		.procname	= "dcache_threshold",
-		.data		= &ub_dcache_threshold,
-		.maxlen		= sizeof(ub_dcache_threshold),
-		.mode		= 0644,
-		.proc_handler	= &proc_dointvec,
-	},
 #ifdef CONFIG_BC_IO_ACCOUNTING
 	{
 		.procname	= "dirty_ratio",
-- 
1.7.10.4




More information about the Devel mailing list