diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index a9072a16a1601a5225a1fe587c871df92f5aa9e5..77a6abfe32912b9ccbc14409397323fa1294e3bf 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -124,6 +124,7 @@ void __ref put_page_bootmem(struct page *page) mutex_lock(&ppb_lock); __free_pages_bootmem(page, 0); mutex_unlock(&ppb_lock); + totalram_pages++; } }