Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm: initialize hotplugged pages as reserved
Commit 92923ca ("mm: meminit: only set page reserved in the memblock region") broke memory hotplug which expects the memmap for newly added sections to be reserved until onlined by online_pages_range(). This patch marks hotplugged pages as reserved when adding new zones. Signed-off-by: Mel Gorman <[email protected]> Reported-by: David Vrabel <[email protected]> Tested-by: David Vrabel <[email protected]> Cc: Nathan Zimmer <[email protected]> Cc: Robin Holt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information