diff options
author | David Vrabel <[email protected]> | 2015-06-25 12:10:28 +0100 |
---|---|---|
committer | David Vrabel <[email protected]> | 2015-10-23 14:20:04 +0100 |
commit | b2ac6aa8f71bf57b948ee68cd913c350b932da88 (patch) | |
tree | 265cb770cf581da01049c6bc6acc696a03467411 /net/lapb/lapb_in.c | |
parent | de5a77d8422fc7ed0b2f4349bceb65a1a639e5b2 (diff) |
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 <[email protected]>
Reviewed-by: Daniel Kiper <[email protected]>
---
v3:
- Return BP_WAIT if enough sections are already hotplugged.
v2:
- New BP_WAIT status after adding new memory sections.
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions