diff --git a/mm/vmscan.c b/mm/vmscan.c index 0861ef42b049..5e92c1061fe9 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -2904,7 +2904,7 @@ static void prepare_scan_count(pg_data_t *pgdat, struct scan_control *sc) * Flush the memory cgroup stats, so that we read accurate per-memcg * lruvec stats for heuristics. */ - mem_cgroup_flush_stats_atomic(); + mem_cgroup_flush_stats(); /* * Determine the scan balance between anon and file LRUs.