Re: [Xen-devel] [PATCH v2] xen/balloon: don't online new memory initially

2017-07-05 Thread Jan Beulich
>>> On 05.07.17 at 17:38, wrote: > @@ -94,22 +103,15 @@ static struct notifier_block xenstore_notifier = { > .notifier_call = balloon_init_watcher, > }; > > -static int __init balloon_init(void) > +void __init xen_balloon_init(void) > { > - if (!xen_domain()) > -

[Xen-devel] [PATCH v2] xen/balloon: don't online new memory initially

2017-07-05 Thread Juergen Gross
When setting up the Xenstore watch for the memory target size the new watch will fire at once. Don't try to reach the configured target size by onlining new memory in this case, as the current memory size will be smaller in almost all cases due to e.g. BIOS reserved pages. Onlining new memory