Re: [PATCHv3 06/10] xen/balloon: only hotplug additional memory if required

2015-07-31 Thread Daniel Kiper
On Thu, Jul 30, 2015 at 06:03:08PM +0100, David Vrabel wrote: > 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 b

[PATCHv3 06/10] xen/balloon: only hotplug additional memory if required

2015-07-30 Thread David Vrabel
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).