mbox series

[0/2] flush percpu vmstats

Message ID 20190812222911.2364802-1-guro@fb.com (mailing list archive)
Headers show
Series flush percpu vmstats | expand

Message

Roman Gushchin Aug. 12, 2019, 10:29 p.m. UTC
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(+)