The patch titled Subject: mm: memcontrol: per-lruvec stats infrastructure fix 3 has been added to the -mm tree. Its filename is mm-memcontrol-per-lruvec-stats-infrastructure-fix-3.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-memcontrol-per-lruvec-stats-infrastructure-fix-3.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-memcontrol-per-lruvec-stats-infrastructure-fix-3.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Johannes Weiner <hannes@xxxxxxxxxxx> Subject: mm: memcontrol: per-lruvec stats infrastructure fix 3 As pointed out by Vladimir, there is a missing free_percpu() for the lruvec_stat object in the memcg's per node info. Add this. Link: http://lkml.kernel.org/r/20170605175354.GB8547@xxxxxxxxxxx Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Guenter Roeck <linux@xxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Vladimir Davydov <vdavydov.dev@xxxxxxxxx> Cc: Rik van Riel <riel@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memcontrol.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff -puN mm/memcontrol.c~mm-memcontrol-per-lruvec-stats-infrastructure-fix-3 mm/memcontrol.c --- a/mm/memcontrol.c~mm-memcontrol-per-lruvec-stats-infrastructure-fix-3 +++ a/mm/memcontrol.c @@ -4139,7 +4139,10 @@ static int alloc_mem_cgroup_per_node_inf static void free_mem_cgroup_per_node_info(struct mem_cgroup *memcg, int node) { - kfree(memcg->nodeinfo[node]); + struct mem_cgroup_per_node *pn = memcg->nodeinfo[node]; + + free_percpu(pn->lruvec_stat); + kfree(pn); } static void __mem_cgroup_free(struct mem_cgroup *memcg) _ Patches currently in -mm which might be from hannes@xxxxxxxxxxx are mm-vmstat-move-slab-statistics-from-zone-to-node-counters.patch mm-memcontrol-use-the-node-native-slab-memory-counters.patch mm-memcontrol-use-generic-mod_memcg_page_state-for-kmem-pages.patch mm-memcontrol-per-lruvec-stats-infrastructure.patch mm-memcontrol-per-lruvec-stats-infrastructure-fix.patch mm-memcontrol-per-lruvec-stats-infrastructure-fix-2.patch mm-memcontrol-per-lruvec-stats-infrastructure-fix-3.patch mm-memcontrol-account-slab-stats-per-lruvec.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html