[PATCH openEuler-5.10 16/17] memcg: flush stats only if updated