memcg_vmstats_needs_flush
if (memcg_vmstats_needs_flush(statc->vmstats))
bool needs_flush = memcg_vmstats_needs_flush(memcg->vmstats);