summaryrefslogtreecommitdiffstats
path: root/block/blk-map.c
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2015-06-25 13:08:20 +0200
committerDavid Vrabel <david.vrabel@citrix.com>2015-10-23 15:20:04 +0200
commitde5a77d8422fc7ed0b2f4349bceb65a1a639e5b2 (patch)
tree2869757d37883c9c4cd264dcf41c0e31cae37fc7 /block/blk-map.c
parentxen/balloon: find non-conflicting regions to place hotplugged memory (diff)
downloadlinux-de5a77d8422fc7ed0b2f4349bceb65a1a639e5b2.tar.xz
linux-de5a77d8422fc7ed0b2f4349bceb65a1a639e5b2.zip
xen/balloon: rationalize memory hotplug stats
The stats used for memory hotplug make no sense and are fiddled with in odd ways. Remove them and introduce total_pages to track the total number of pages (both populated and unpopulated) including those within hotplugged regions (note that this includes not yet onlined pages). This will be used in a subsequent commit (xen/balloon: only hotplug additional memory if required) when deciding whether additional memory needs to be hotplugged. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions