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

Signed-off-by: Vladimir Davydov <[email protected]>
---
 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

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to