diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 2e916c308ae6278c4fc05aab3591d785e173131d..431a64f021c0ed7c5dc9a40c63096f99ba16d464 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; }