Re: [Xen-devel] [PATCH 1/2] xen: prepare p2m list for memory hotplug

2015-03-19 Thread Paul Bolle
On Thu, 2015-03-19 at 15:31 +0100, Juergen Gross wrote: > --- a/arch/x86/xen/p2m.c > +++ b/arch/x86/xen/p2m.c > +#ifdef CONFIG_X86_32 > +BUILD_BUG_ON_MSG(CONFIG_XEN_BALLOON_MEMORY_HOTPLUG_LIMIT > 64) > +#endif I assume BUILD_BUG_ON_MSG() aborts the build. > --- a/drivers/xen/Kconfig > +++ b/dri

Re: [Xen-devel] [PATCH 1/2] xen: prepare p2m list for memory hotplug

2015-03-19 Thread David Vrabel
On 19/03/15 17:16, Juergen Gross wrote: > On 03/19/2015 05:18 PM, David Vrabel wrote: >> On 19/03/15 14:31, Juergen Gross wrote: >>> Commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to linear >>> virtual mapped sparse p2m list") introduced a regression regarding to >>> memory hotplug f

Re: [Xen-devel] [PATCH 1/2] xen: prepare p2m list for memory hotplug

2015-03-19 Thread Juergen Gross
On 03/19/2015 05:18 PM, David Vrabel wrote: On 19/03/15 14:31, Juergen Gross wrote: Commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to linear virtual mapped sparse p2m list") introduced a regression regarding to memory hotplug for a pv-domain: as the virtual space for the p2m list

Re: [Xen-devel] [PATCH 1/2] xen: prepare p2m list for memory hotplug

2015-03-19 Thread Juergen Gross
On 03/19/2015 05:14 PM, Daniel Kiper wrote: On Thu, Mar 19, 2015 at 03:31:01PM +0100, Juergen Gross wrote: Commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to linear virtual mapped sparse p2m list") introduced a regression regarding to memory hotplug for a pv-domain: as the virtual

Re: [Xen-devel] [PATCH 1/2] xen: prepare p2m list for memory hotplug

2015-03-19 Thread Juergen Gross
On 03/19/2015 04:53 PM, Boris Ostrovsky wrote: On 03/19/2015 10:31 AM, Juergen Gross wrote: Commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to linear virtual mapped sparse p2m list") introduced a regression regarding to memory hotplug for a pv-domain: as the virtual space for the p

Re: [Xen-devel] [PATCH 1/2] xen: prepare p2m list for memory hotplug

2015-03-19 Thread David Vrabel
On 19/03/15 14:31, Juergen Gross wrote: > Commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to linear > virtual mapped sparse p2m list") introduced a regression regarding to > memory hotplug for a pv-domain: as the virtual space for the p2m list > is allocated for the to be expected mem

Re: [Xen-devel] [PATCH 1/2] xen: prepare p2m list for memory hotplug

2015-03-19 Thread Daniel Kiper
On Thu, Mar 19, 2015 at 03:31:01PM +0100, Juergen Gross wrote: > Commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to linear > virtual mapped sparse p2m list") introduced a regression regarding to > memory hotplug for a pv-domain: as the virtual space for the p2m list > is allocated for

Re: [Xen-devel] [PATCH 1/2] xen: prepare p2m list for memory hotplug

2015-03-19 Thread Boris Ostrovsky
On 03/19/2015 10:31 AM, Juergen Gross wrote: Commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to linear virtual mapped sparse p2m list") introduced a regression regarding to memory hotplug for a pv-domain: as the virtual space for the p2m list is allocated for the to be expected memo

[Xen-devel] [PATCH 1/2] xen: prepare p2m list for memory hotplug

2015-03-19 Thread Juergen Gross
Commit 054954eb051f35e74b75a566a96fe756015352c8 ("xen: switch to linear virtual mapped sparse p2m list") introduced a regression regarding to memory hotplug for a pv-domain: as the virtual space for the p2m list is allocated for the to be expected memory size of the domain only, hotplugged memory a