When memory is hot-added, all the memory is in offline state. So
clear all zones' present_pages because they will be updated in
online_pages() and offline_pages(). Otherwise, /proc/zoneinfo
will corrupt:
When the memory of node2 is offline:
# cat /proc/zoneinfo
..
Node 2, zone Movable
When memory is hot-added, all the memory is in offline state. So
clear all zones' present_pages because they will be updated in
online_pages() and offline_pages(). Otherwise, /proc/zoneinfo
will corrupt:
When the memory of node2 is offline:
# cat /proc/zoneinfo
..
Node 2, zone Movable
2 matches
Mail list logo