[Devel] [PATCH vz8.2 2/4] mm/memcg: Drop unused struct "accumulated_stats"

Konstantin Khorenko khorenko at virtuozzo.com
Thu Jul 22 16:53:20 MSK 2021


https://jira.sw.ru/browse/PSBM-131992

Fixes: 38a2f168a441 ("ve/proc: virtualize /proc/meminfo in a Container")

Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 include/linux/memcontrol.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
index 71606e4adde4..14dcb9d3c9c9 100644
--- a/include/linux/memcontrol.h
+++ b/include/linux/memcontrol.h
@@ -71,16 +71,6 @@ struct mem_cgroup_reclaim_cookie {
 	unsigned int generation;
 };
 
-struct accumulated_stats {
-	unsigned long stat[MEMCG_NR_STAT];
-	unsigned long events[NR_VM_EVENT_ITEMS];
-	unsigned long lru_pages[NR_LRU_LISTS];
-	const unsigned int *stats_array;
-	const unsigned int *events_array;
-	int stats_size;
-	int events_size;
-};
-
 #ifdef CONFIG_MEMCG
 
 #define MEM_CGROUP_ID_SHIFT	16
-- 
2.28.0



More information about the Devel mailing list