[Devel] [PATCH rh7 2/5] ub: drop CONFIG_BC_DEBUG_ITEMS

Vladimir Davydov vdavydov at parallels.com
Tue Jun 9 08:14:58 PDT 2015


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 dc7c21fb6fe2..4b97e9ad1f33 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 fd1e9d6b36ad..da153ef3f630 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
-- 
2.1.4




More information about the Devel mailing list