[Devel] [PATCH RHEL7 COMMIT] ub: kill ub_dcache_threshold sysctl knob
Konstantin Khorenko
khorenko at virtuozzo.com
Mon May 25 03:28:24 PDT 2015
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-123.1.2.vz7.5.5
------>
commit 235e9340f66d8b55fec890148f579f2f18105d33
Author: Vladimir Davydov <vdavydov at parallels.com>
Date: Mon May 25 14:28:24 2015 +0400
ub: kill ub_dcache_threshold sysctl knob
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 dae10df2..4763f7b 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,
@@ -1040,13 +1038,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",
More information about the Devel
mailing list