Skip to contentSkip to conversation

memcg-fix-memcg_size-calculation.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 3, 2014

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] memcg-fix-memcg_size-calculation.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 03 Jan 2014 12:38:00 -0800

The patch titled
Subject: memcg: fix memcg_size() calculation
has been removed from the -mm tree. Its filename was
memcg-fix-memcg_size-calculation.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Vladimir Davydov <[email protected]>
Subject: memcg: fix memcg_size() calculation

The mem_cgroup structure contains nr_node_ids pointers to mem_cgroup_per_node objects, not the objects themselves.

Cc Glauber Costa <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc Balbir Singh <[email protected]>
Cc KAMEZAWA Hiroyuki <[email protected]>

---

 mm/memcontrol.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memcontrol.c renamed from mm/memcontrol.c~memcg-fix-memcg_size-calculation +1 -1
diff -puN mm/memcontrol.c~memcg-fix-memcg_size-calculation mm/memcontrol.c
@@ -338,7 +338,7 @@ struct mem_cgroup {
 static size_t memcg_size(void)
 {
 	return sizeof(struct mem_cgroup) +
-		nr_node_ids * sizeof(struct mem_cgroup_per_node);
+		nr_node_ids * sizeof(struct mem_cgroup_per_node *);
 }
 
 /* internal only representation about the status of kmem accounting. */

_

Patches currently in -mm which might be from [email protected] are

origin.patch memcg-fix-kmem_account_flags-check-in-memcg_can_account_kmem.patch memcg-make-memcg_update_cache_sizes-static.patch memcg-do-not-use-vmalloc-for-mem_cgroup-allocations.patch linux-next.patch