[Devel] [PATCH RHEL7 COMMIT] ub: drop CONFIG_BC_DEBUG_ITEMS

Konstantin Khorenko khorenko at virtuozzo.com
Wed Jun 10 07:16:21 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.12
------>
commit fe215457297fd53ede263fd8bb627f006eeb6151
Author: Vladimir Davydov <vdavydov at parallels.com>
Date:   Wed Jun 10 18:16:16 2015 +0400

    ub: drop CONFIG_BC_DEBUG_ITEMS
    
    It was used in UBC/KMEM accounting, which is now implemented in the
    scope of the memory cgroup.
    
    Signed-off-by: Vladimir Davydov <vdavydov at parallels.com>
---
 config.OpenVZ     | 1 -
 kernel/bc/Kconfig | 8 --------
 2 files changed, 9 deletions(-)

diff --git a/config.OpenVZ b/config.OpenVZ
index 302c6a2..e3d9158 100644
--- a/config.OpenVZ
+++ b/config.OpenVZ
@@ -5303,4 +5303,3 @@ CONFIG_BEANCOUNTERS=y
 CONFIG_BC_IO_ACCOUNTING=y
 CONFIG_BC_IO_PRIORITY=y
 CONFIG_BC_PROC=y
-# CONFIG_BC_DEBUG_ITEMS is not set
diff --git a/kernel/bc/Kconfig b/kernel/bc/Kconfig
index fd1e9d6..da153ef 100644
--- a/kernel/bc/Kconfig
+++ b/kernel/bc/Kconfig
@@ -53,12 +53,4 @@ config BC_PROC
 	help
           Allows a system administrator to inspect resource accounts and limits.
 
-config BC_DEBUG_ITEMS
-	bool "Account resources in items rather than in bytes"
-	default n
-	depends on BC_DEBUG
-	help
-	  When true some of the resources (e.g. kmemsize) are accounted
-	  in items instead of bytes.
-
 endmenu



More information about the Devel mailing list