aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2015-06-25 12:10:28 +0100
committerDavid Vrabel <david.vrabel@citrix.com>2015-10-23 14:20:04 +0100
commitb2ac6aa8f71bf57b948ee68cd913c350b932da88 (patch)
tree265cb770cf581da01049c6bc6acc696a03467411 /crypto
parentxen/balloon: rationalize memory hotplug stats (diff)
downloadlinux-dev-b2ac6aa8f71bf57b948ee68cd913c350b932da88.tar.xz
linux-dev-b2ac6aa8f71bf57b948ee68cd913c350b932da88.zip
xen/balloon: only hotplug additional memory if required
Now that we track the total number of pages (included hotplugged regions), it is easy to determine if more memory needs to be hotplugged. Add a new BP_WAIT state to signal that the balloon process needs to wait until kicked by the memory add notifier (when the new section is onlined by userspace). Signed-off-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> --- v3: - Return BP_WAIT if enough sections are already hotplugged. v2: - New BP_WAIT status after adding new memory sections.
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions