Commit 40f4b1ea authored by Cody P Schafer's avatar Cody P Schafer Committed by Linus Torvalds
Browse files

mm/vmstat: add note on safety of drain_zonestat

Signed-off-by: default avatarCody P Schafer <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 5bc7b8ac
......@@ -493,6 +493,10 @@ void refresh_cpu_vm_stats(int cpu)
atomic_long_add(global_diff[i], &vm_stat[i]);
* this is only called if !populated_zone(zone), which implies no other users of
* pset->vm_stat_diff[] exsist.
void drain_zonestat(struct zone *zone, struct per_cpu_pageset *pset)
int i;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment