]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/page_alloc.c
vmstat: create separate function to fold per cpu diffs into local counters
[karo-tx-linux.git] / mm / page_alloc.c
index 42c59300bacdff2b75862a7df2bb31a7b9d32c63..f885eb82715950515ec708a4cde5d654ab53bdf7 100644 (file)
@@ -5435,7 +5435,7 @@ static int page_alloc_cpu_notify(struct notifier_block *self,
                 * This is only okay since the processor is dead and cannot
                 * race with what we are doing.
                 */
-               refresh_cpu_vm_stats(cpu);
+               cpu_vm_stats_fold(cpu);
        }
        return NOTIFY_OK;
 }