summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/memory_hotplug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index 2e916c308ae6..431a64f021c0 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -132,5 +132,7 @@ int online_pages(unsigned long pfn, unsigned long nr_pages)
}
zone->present_pages += onlined_pages;
+ setup_per_zone_pages_min();
+
return 0;
}