[PATCH 0/2] flush percpu vmstats

From: Roman Gushchin
Date: Mon Aug 12 2019 - 18:29:20 EST


While working on v2 of the slabs vmstats flushing patch, I've realized
the the problem is much more generic and affects all vmstats, not only
slabs. So the patch has been converted to set of 2.

v2:
1) added patch 1, patch 2 rebased on top
2) s/for_each_cpu()/for_each_online_cpu() (by Andrew Morton)

Roman Gushchin (2):
mm: memcontrol: flush percpu vmstats before releasing memcg
mm: memcontrol: flush percpu slab vmstats on kmem offlining

mm/memcontrol.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)

--
2.21.0